-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: tools: crm_mon --daemonize should update when disconnected
With crm_mon --daemonize, the output will continue to show the last known status after the cluster is stopped on the local node. It should go back to something like "Cluster is not available". It's questionable whether we want to print "Cluster is not available" when we're in interactive mode or only in daemonized mode. For now, we'll do daemonized-only. Interactive (console) mode already gets the "Connection to cluster daemons terminated" message, which is quickly replaced by "Reconnecting...". External agents are notified via traps rather than via output, so we can ignore them. Closes T15 Signed-off-by: Reid Wahl <[email protected]>
- Loading branch information
Showing
1 changed file
with
29 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters