Revision 781b2b2b

b/daemons/ganeti-watcher
457 457
    sys.stderr = sys.stdout = open(constants.LOG_WATCHER, 'a')
458 458

  
459 459
  try:
460
    watcher = Watcher()
460
    try:
461
      watcher = Watcher()
462
    except errors.ConfigurationError:
463
      # Just exit if there's no configuration
464
      sys.exit(constants.EXIT_SUCCESS)
461 465
    watcher.Run()
462 466
    watcher.WriteReport(sys.stdout)
463 467
  except NotMasterError:

Also available in: Unified diff