diff options
-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" }) |