summaryrefslogtreecommitdiffhomepage
path: root/libs/web
diff options
context:
space:
mode:
authorSteven Barth <steven@midlink.org>2008-06-28 17:03:47 +0000
committerSteven Barth <steven@midlink.org>2008-06-28 17:03:47 +0000
commit8ca3b888ad91a40757c4b9cc00aea1a2ccf6a36d (patch)
treeca2074b0f8f12d186ad60ac5d3764c92fe05468a /libs/web
parent3fc7d3f5de08a6d750cc8ccbe124f23f29bad732 (diff)
* libs/httpd: Fixed a problem with empty sources in filehandler
Diffstat (limited to 'libs/web')
-rw-r--r--libs/web/luasrc/dispatcher.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/web/luasrc/dispatcher.lua b/libs/web/luasrc/dispatcher.lua
index 989eb4402..426dd66bd 100644
--- a/libs/web/luasrc/dispatcher.lua
+++ b/libs/web/luasrc/dispatcher.lua
@@ -283,6 +283,7 @@ function createtree()
local stat, err = luci.util.copcall(v)
if not stat then
error500("createtree failed: " .. k .. ": " .. err)
+ luci.http.close()
os.exit(1)
end
end