summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--modules/admin-full/luasrc/controller/admin/uci.lua2
-rw-r--r--modules/admin-mini/luasrc/controller/mini/uci.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/uci.lua b/modules/admin-full/luasrc/controller/admin/uci.lua
index 652597e45..88c37d650 100644
--- a/modules/admin-full/luasrc/controller/admin/uci.lua
+++ b/modules/admin-full/luasrc/controller/admin/uci.lua
@@ -79,7 +79,7 @@ function action_apply()
-- Search for post-commit commands
for cmd, i in pairs(run) do
- output = output .. cmd .. ":" .. luci.util.exec(cmd) .. "\n"
+ output = output .. cmd .. ":\n" .. luci.util.exec(cmd) .. "\n"
end
end
diff --git a/modules/admin-mini/luasrc/controller/mini/uci.lua b/modules/admin-mini/luasrc/controller/mini/uci.lua
index 31e04051b..a5b3402ad 100644
--- a/modules/admin-mini/luasrc/controller/mini/uci.lua
+++ b/modules/admin-mini/luasrc/controller/mini/uci.lua
@@ -75,7 +75,7 @@ function action_apply()
-- Search for post-commit commands
for cmd, i in pairs(run) do
- output = output .. cmd .. ":" .. luci.util.exec(cmd) .. "\n"
+ output = output .. cmd .. ":\n" .. luci.util.exec(cmd) .. "\n"
end
end