Optical improvements
authorSteven Barth <steven@midlink.org>
Wed, 27 Aug 2008 13:53:55 +0000 (13:53 +0000)
committerSteven Barth <steven@midlink.org>
Wed, 27 Aug 2008 13:53:55 +0000 (13:53 +0000)
modules/admin-full/luasrc/controller/admin/uci.lua
modules/admin-mini/luasrc/controller/mini/uci.lua

index 652597e..88c37d6 100644 (file)
@@ -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
        
index 31e0405..a5b3402 100644 (file)
@@ -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