diff options
Diffstat (limited to 'syslog-model.lua')
-rw-r--r-- | syslog-model.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/syslog-model.lua b/syslog-model.lua index e9e03d5..1af9dd3 100644 --- a/syslog-model.lua +++ b/syslog-model.lua @@ -34,7 +34,8 @@ function startstop_service ( self, action ) local cmdresult,cmdmessage,cmderror,cmdaction = daemoncontrol.daemoncontrol("syslog", cmd) action.descr=cmdmessage action.errtxt=cmderror - return action + -- Reporting back (true|false, the original acition) + return cmdresult,action end @@ -61,6 +62,7 @@ function getstatus() value=opts["SYSLOGD_OPTS"]["-R"], }) end + return status end |