fixup! gluon-core: implement popen3() in gluon/util.lua

This commit is contained in:
aiyion.prime 2021-07-06 10:52:21 +02:00
parent 588d77ddd8
commit daa95f1ac7

View File

@ -221,7 +221,7 @@ function M.popen3(policies, path, ...)
local pid = posix_unistd.fork() local pid = posix_unistd.fork()
if pid < 0 then if pid == nil then
return nil return nil
elseif pid == 0 then elseif pid == 0 then
local null=-1; local null=-1;