mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 03:02:52 +01:00
If supybot can't write the pidfile, it needs to exit.
This commit is contained in:
parent
4285df0809
commit
82db19754d
@ -301,7 +301,8 @@ if __name__ == '__main__':
|
||||
log.error('Could not remove pid file: %s', e)
|
||||
atexit.register(removePidFile)
|
||||
except EnvironmentError, e:
|
||||
log.error('Error opening pid file %s: %s', pidFile, e)
|
||||
log.fatal('Error opening/writing pid file %s: %s', pidFile, e)
|
||||
sys.exit(-1)
|
||||
|
||||
conf.allowDefaultOwner = options.allowDefaultOwner
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user