diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-12-08 15:41:47 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-12-08 15:41:47 +0000 |
commit | 8d365a20861b19cba2352383319bc8d1d6272a1c (patch) | |
tree | 02a2c818d95b3064b670f541e36ca6eda7c0e2e3 | |
parent | 40c4fe42239892c0b71f9bfd9427ec330ef1b8da (diff) | |
download | acf-shorewall-8d365a20861b19cba2352383319bc8d1d6272a1c.tar.bz2 acf-shorewall-8d365a20861b19cba2352383319bc8d1d6272a1c.tar.xz |
Modified shorewall to show error output when running check.
git-svn-id: svn://svn.alpinelinux.org/acf/shorewall/trunk@1626 ab2d0c66-481e-0410-8bed-d214d4d58bed
-rw-r--r-- | shorewall-model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shorewall-model.lua b/shorewall-model.lua index 8df2d4d..dd7a864 100644 --- a/shorewall-model.lua +++ b/shorewall-model.lua @@ -193,7 +193,7 @@ function startstop_service(action) end function configcheck () - local f = io.popen("/bin/echo -n '>> Check starts at: ';/bin/date; /bin/echo; /etc/init.d/shorewall check; /bin/echo; /bin/echo -n '>> Check stops at: '; /bin/date;") + local f = io.popen("/bin/echo -n '>> Check starts at: ';/bin/date; /bin/echo; /etc/init.d/shorewall check 2>&1; /bin/echo; /bin/echo -n '>> Check stops at: '; /bin/date;") local checkresult = f:read("*a") f:close() return cfe({ type="longtext", value=checkresult, label="Result of checking config" }) |