Revision 1b052f42
b/daemons/ganeti-watcher | ||
---|---|---|
477 | 477 |
# Just exit if there's no configuration |
478 | 478 |
sys.exit(constants.EXIT_SUCCESS) |
479 | 479 |
watcher.Run() |
480 |
except SystemExit: |
|
481 |
raise |
|
480 | 482 |
except NotMasterError: |
481 | 483 |
logging.debug("Not master, exiting") |
482 | 484 |
sys.exit(constants.EXIT_NOTMASTER) |
Also available in: Unified diff