summaryrefslogtreecommitdiffstats
path: root/openntpd-model.lua
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-04-09 14:02:51 +0000
committerMika Havela <mika.havela@gmail.com>2008-04-09 14:02:51 +0000
commit5ab267321da81d772e6fce7e4ccf8f477bd7760e (patch)
tree02be136f79cfd01a6f16d7ca886d00223ff7572f /openntpd-model.lua
parentd38c0b8804c12d556cf8b07e526ba52f7ea24c07 (diff)
downloadacf-openntpd-5ab267321da81d772e6fce7e4ccf8f477bd7760e.tar.bz2
acf-openntpd-5ab267321da81d772e6fce7e4ccf8f477bd7760e.tar.xz
Small bugfix.
git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@976 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'openntpd-model.lua')
-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)