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 652597e458977e2dc43bb1891298a5209a4bbf6b..88c37d65064bd4f8a1c793c6b4e8e2e5462ede80 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 31e04051b4af87457d653500cf21b566ebadd2f2..a5b3402add43c5e68c8e528077c038c830d5644c 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