summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc/dispatcher.lua
diff options
context:
space:
mode:
Diffstat (limited to 'libs/web/luasrc/dispatcher.lua')
-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 989eb44021..426dd66bd0 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