From 1b052f420ec1747fc13ca96bc23ed9eaaa2ea9a1 Mon Sep 17 00:00:00 2001
From: Michael Hanselmann <hansmi@google.com>
Date: Wed, 18 Jun 2008 12:31:16 +0000
Subject: [PATCH] Don't log SystemExit exception in ganeti-watcher

Reviewed-by: iustinp
---
 daemons/ganeti-watcher | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/daemons/ganeti-watcher b/daemons/ganeti-watcher
index 509d80038..6e4ebf173 100755
--- a/daemons/ganeti-watcher
+++ b/daemons/ganeti-watcher
@@ -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)
-- 
GitLab