summaryrefslogtreecommitdiffstats
path: root/openntpd-model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'openntpd-model.lua')
-rw-r--r--openntpd-model.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/openntpd-model.lua b/openntpd-model.lua
index ff7c470..7a93151 100644
--- a/openntpd-model.lua
+++ b/openntpd-model.lua
@@ -107,7 +107,9 @@ end
-- PUBLIC FUNCTIONS
function startstop_service ( self, state )
- return daemoncontrol.daemoncontrol("ntpd", state)
+ local cmdresult,cmdmessage,cmderror,cmdaction = daemoncontrol.daemoncontrol("ntpd", state)
+ cmdresult = {cmdresult=cmdmessage,}
+ return cmdresult
end