hooks: xiu: fix fork (#1558)

This commit is contained in:
stackxp 2026-07-17 20:33:06 +02:00 committed by GitHub
parent 6a9437b77c
commit aa86235360
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: