mirror of
https://github.com/9001/copyparty.git
synced 2026-09-24 18:40:25 +01:00
hooks: xiu: fix fork (#1558)
This commit is contained in:
+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