Show More
@@ -8,7 +8,6 b'' | |||
|
8 | 8 | from __future__ import absolute_import |
|
9 | 9 | |
|
10 | 10 | import os |
|
11 | import sys | |
|
12 | 11 | import tempfile |
|
13 | 12 | |
|
14 | 13 | from .i18n import _ |
@@ -19,6 +18,7 b' from . import (' | |||
|
19 | 18 | commandserver, |
|
20 | 19 | error, |
|
21 | 20 | hgweb, |
|
21 | pycompat, | |
|
22 | 22 | util, |
|
23 | 23 | ) |
|
24 | 24 | |
@@ -42,7 +42,7 b' def runservice(opts, parentfn=None, init' | |||
|
42 | 42 | os.close(lockfd) |
|
43 | 43 | try: |
|
44 | 44 | if not runargs: |
|
45 |
runargs = util.hgcmd() + |
|
|
45 | runargs = util.hgcmd() + pycompat.sysargv[1:] | |
|
46 | 46 | runargs.append('--daemon-postexec=unlink:%s' % lockpath) |
|
47 | 47 | # Don't pass --cwd to the child process, because we've already |
|
48 | 48 | # changed directory. |
General Comments 0
You need to be logged in to leave comments.
Login now