diff --git a/lib/backend.py b/lib/backend.py index 50bb6308f79272d2abd9f56f03f6bb6390a8a061..1fb2aea8773e5e8edab38cfd722d54e7f9c01e11 100644 --- a/lib/backend.py +++ b/lib/backend.py @@ -139,6 +139,9 @@ def LeaveCluster(): utils.RemoveFile(priv_key) utils.RemoveFile(pub_key) + # Return a reassuring string to the caller, and quit + raise errors.QuitGanetiException(False, 'Shutdown scheduled') + def GetNodeInfo(vgname): """Gives back a hash with different informations about the node.