From f68a2eb478f940d98d574674be2610661fdc0b5d Mon Sep 17 00:00:00 2001 From: "J. Burfeind" Date: Tue, 13 Jul 2021 08:58:51 +0200 Subject: [PATCH] Update package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua Co-authored-by: Matthias Schiffer --- package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua b/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua index def6af82..46dcf434 100644 --- a/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua +++ b/package/gluon-core/luasrc/usr/lib/lua/gluon/util.lua @@ -224,7 +224,7 @@ function M.subprocess.popen(path, argt, options) return nil, errmsg, errnum elseif pid == 0 then local null = -1 - local stdiostreams = {["stdin"] = 0, ["stdout"] = 1, ["stderr"] = 2} + local stdiostreams = {stdin = 0, stdout = 1, stderr = 2} if M.contains(options, M.subprocess.DEVNULL) then -- only open, if there's anything to discard null = posix_fcntl.open('/dev/null', posix_fcntl.O_RDWR)