supybot-botchk: Don't truncate pidfile

This commit is contained in:
nyuszika7h 2013-02-03 14:20:16 +01:00
parent 7edc73a08c
commit 658d0ad84d

View File

@ -97,7 +97,7 @@ if __name__ == '__main__':
parser.error('No conffile given.')
os.chdir(options.botdir)
pidfile = open(options.pidfile, 'w')
pidfile = open(options.pidfile, 'ab')
pidfile.close()
pid = None