From 658d0ad84dc8d7948c048117a6512dbec94e4b39 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Sun, 3 Feb 2013 14:20:16 +0100 Subject: [PATCH] supybot-botchk: Don't truncate pidfile --- scripts/supybot-botchk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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