projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc428e3
)
Don't log SystemExit exception in ganeti-watcher
author
Michael Hanselmann
<hansmi@google.com>
Wed, 18 Jun 2008 12:31:16 +0000
(12:31 +0000)
committer
Michael Hanselmann
<hansmi@google.com>
Wed, 18 Jun 2008 12:31:16 +0000
(12:31 +0000)
Reviewed-by: iustinp
daemons/ganeti-watcher
patch
|
blob
|
history
diff --git
a/daemons/ganeti-watcher
b/daemons/ganeti-watcher
index
509d800
..
6e4ebf1
100755
(executable)
--- 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)