inotify: don't pass pidfile option to child
authorSiddharth Agarwal <sid0@fb.com>
Wed, 02 Oct 2013 14:24:25 -0700
changeset 19869 4210a05c4329
parent 19868 0532c8f8e911
child 19870 055d5b3f83b1
inotify: don't pass pidfile option to child The child no longer needs it.
hgext/inotify/server.py
--- a/hgext/inotify/server.py	Wed Oct 02 15:20:49 2013 -0700
+++ b/hgext/inotify/server.py	Wed Oct 02 14:24:25 2013 -0700
@@ -454,7 +454,6 @@
     opts.setdefault('pid_file', '')
     if opts['daemon'] and pidfile is not None and not opts['pid_file']:
         opts['pid_file'] = pidfile
-        runargs.append("--pid-file=%s" % pidfile)
 
     service = service()
     logfile = ui.config('inotify', 'log')