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