Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-ganeti
Commits
1b052f42
Commit
1b052f42
authored
Jun 18, 2008
by
Michael Hanselmann
Browse files
Don't log SystemExit exception in ganeti-watcher
Reviewed-by: iustinp
parent
fc428e32
Changes
1
Hide whitespace changes
Inline
Side-by-side
daemons/ganeti-watcher
View file @
1b052f42
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment