Show More
@@ -451,7 +451,9 b' def start(ui, dirstate, root, opts):' | |||||
451 | runargs = util.hgcmd() + sys.argv[1:] |
|
451 | runargs = util.hgcmd() + sys.argv[1:] | |
452 |
|
452 | |||
453 | pidfile = ui.config('inotify', 'pidfile') |
|
453 | pidfile = ui.config('inotify', 'pidfile') | |
454 | if opts['daemon'] and pidfile is not None and 'pid-file' not in runargs: |
|
454 | opts.setdefault('pid_file', '') | |
|
455 | if opts['daemon'] and pidfile is not None and not opts['pid_file']: | |||
|
456 | opts['pid_file'] = pidfile | |||
455 | runargs.append("--pid-file=%s" % pidfile) |
|
457 | runargs.append("--pid-file=%s" % pidfile) | |
456 |
|
458 | |||
457 | service = service() |
|
459 | service = service() |
General Comments 0
You need to be logged in to leave comments.
Login now