mirror of
https://github.com/9001/copyparty.git
synced 2026-08-13 13:53:06 -06:00
hooks: xiu: fix fork (#1558)
This commit is contained in:
parent
6a9437b77c
commit
aa86235360
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue