Use log.critical instead of log.fatal (which does not exist).

Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
This commit is contained in:
Valentin Lorentz 2012-01-17 20:51:42 +00:00 committed by James McCoy
parent b7bc11deea
commit a1acde1f02

View File

@ -303,7 +303,7 @@ if __name__ == '__main__':
log.error('Could not remove pid file: %s', e)
atexit.register(removePidFile)
except EnvironmentError, e:
log.fatal('Error opening/writing pid file %s: %s', pidFile, e)
log.critical('Error opening/writing pid file %s: %s', pidFile, e)
sys.exit(-1)
conf.allowDefaultOwner = options.allowDefaultOwner