Skip to content

Commit

Permalink
Fix: crm_mon: try to connect CIB while pacemakerd shutting down
Browse files Browse the repository at this point in the history
we need to do this in all output modes (xml specifically)
  • Loading branch information
wenningerk committed Apr 13, 2021
1 parent f2d8a3d commit 46d6edd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/crm_mon.c
Original file line number Diff line number Diff line change
Expand Up @@ -1031,6 +1031,10 @@ pacemakerd_status(void)
case pcmk_pacemakerd_state_running:
rc = pcmk_rc_ok;
break;
case pcmk_pacemakerd_state_shutting_down:
/* try our luck maybe CIB is still accessible */
rc = pcmk_rc_ok;
break;
default:
break;
}
Expand Down

0 comments on commit 46d6edd

Please sign in to comment.