mirror of
https://github.com/9001/copyparty.git
synced 2026-10-05 22:04:38 +01:00
hooks: xiu: fix fork (#1558)
This commit is contained in:
+1
-1
@@ -4033,7 +4033,7 @@ def runihook(
|
|||||||
|
|
||||||
t0 = time.time()
|
t0 = time.time()
|
||||||
if fork:
|
if fork:
|
||||||
Daemon(runcmd, cmd, bcmd, ka=sp_ka)
|
Daemon(runcmd, cmd, [bcmd], ka=sp_ka)
|
||||||
else:
|
else:
|
||||||
rc, v, err = runcmd(bcmd, **sp_ka) # type: ignore
|
rc, v, err = runcmd(bcmd, **sp_ka) # type: ignore
|
||||||
if chk and rc:
|
if chk and rc:
|
||||||
|
|||||||
Reference in New Issue
Block a user