mirror of
https://github.com/9001/copyparty.git
synced 2026-11-10 12:28:23 +00:00
hooks: xiu: fix fork (#1558)
This commit is contained in:
1 parent
6a9437b77c
commit
aa86235360
1 file changed
+1
-1
+1
-1
@@ -4033,7 +4033,7 @@ def runihook(
|
||||
|
||||
t0 = time.time()
|
||||
if fork:
|
||||
Daemon(runcmd, cmd, bcmd, ka=sp_ka)
|
||||
Daemon(runcmd, cmd, [bcmd], ka=sp_ka)
|
||||
else:
|
||||
rc, v, err = runcmd(bcmd, **sp_ka) # type: ignore
|
||||
if chk and rc:
|
||||
|
||||
Reference in new issue
Block a user