Skip to content
Snippets Groups Projects
Commit 6675201b authored by Anael Beutot's avatar Anael Beutot
Browse files

Fixed pidfile open in write mode.

parent f92f02ce
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ if not isfile(options.config):
# take care of pid file if daemon
if options.daemonize:
pidfile = open(options.pidfile)
pidfile = open(options.pidfile, 'w')
files_preserve = [pidfile]
else:
files_preserve = None
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment