Fix no pid-file on posix systems.
This commit is contained in:
parent
75e6fdaa2b
commit
97345e1877
|
@ -102,4 +102,6 @@ elif defined(posix):
|
|||
quit(QuitFailure)
|
||||
if posix.dup2(getFileHandle(serr), getFileHandle(stderr)) < 0:
|
||||
quit(QuitFailure)
|
||||
if len(pidfile) > 0:
|
||||
writeFile(pidfile, $pid)
|
||||
result = 0
|
||||
|
|
Loading…
Reference in New Issue