summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--openntpd-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/openntpd-model.lua b/openntpd-model.lua
index f62c826..cbfc16f 100644
--- a/openntpd-model.lua
+++ b/openntpd-model.lua
@@ -177,7 +177,7 @@ end
-- action should be a CFE
function startstop_service ( self, action )
local cmd = action.value
- local cmdresult,cmdmessage,cmderror,cmdaction = daemoncontrol.daemoncontrol("ntpd", cmd)
+ local cmdresult,cmdmessage,cmderror,cmdaction = daemoncontrol.daemoncontrol(processname, cmd)
action.descr=cmdmessage
action.errtxt=cmderror
-- Reporting back (true|false, the original acition)