Avoid lacking fds
[project/luci.git] / libs / sgi-cgi / luasrc / sgi / cgi.lua
index b86722d..3fec696 100644 (file)
@@ -87,6 +87,7 @@ function run()
                                active = false
                        elseif id == 6 then
                                data1:copyz(nixio.stdout, data2)
+                               data1:close()
                        end
                end
        end