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

This commit is contained in:
Valentin Lorentz 2012-01-17 20:51:42 +00:00
parent 33debcd565
commit 6b0e5303b4
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,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