Don't log SystemExit exception in ganeti-watcher
authorMichael Hanselmann <hansmi@google.com>
Wed, 18 Jun 2008 12:31:16 +0000 (12:31 +0000)
committerMichael Hanselmann <hansmi@google.com>
Wed, 18 Jun 2008 12:31:16 +0000 (12:31 +0000)
Reviewed-by: iustinp

daemons/ganeti-watcher

index 509d800..6e4ebf1 100755 (executable)
@@ -477,6 +477,8 @@ def main():
       # Just exit if there's no configuration
       sys.exit(constants.EXIT_SUCCESS)
     watcher.Run()
+  except SystemExit:
+    raise
   except NotMasterError:
     logging.debug("Not master, exiting")
     sys.exit(constants.EXIT_NOTMASTER)