diff --git a/scripts/supybot-botchk b/scripts/supybot-botchk index ef101b690..de6e4e802 100644 --- a/scripts/supybot-botchk +++ b/scripts/supybot-botchk @@ -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