summaryrefslogtreecommitdiffhomepage
path: root/libs/sgi-cgi
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-09-12 13:32:35 +0000
committerSteven Barth <steven@midlink.org>2008-09-12 13:32:35 +0000
commitdf723f9d9e858d56cdf4cd2fee15e1549a353ad0 (patch)
tree087cf61874c341076396ad99b309055d32fec86a /libs/sgi-cgi
parentbf7287c60d3819ee2322c47d191d01e55a1ec909 (diff)
Avoid some blocking issues
Diffstat (limited to 'libs/sgi-cgi')
-rw-r--r--libs/sgi-cgi/luasrc/sgi/cgi.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/sgi-cgi/luasrc/sgi/cgi.lua b/libs/sgi-cgi/luasrc/sgi/cgi.lua
index d36d43fb5..f78adeaed 100644
--- a/libs/sgi-cgi/luasrc/sgi/cgi.lua
+++ b/libs/sgi-cgi/luasrc/sgi/cgi.lua
@@ -61,6 +61,7 @@ function run()
elseif id == 4 then
io.write(data1)
elseif id == 5 then
+ io.close()
active = false
end
end