From 5ab267321da81d772e6fce7e4ccf8f477bd7760e Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Wed, 9 Apr 2008 14:02:51 +0000 Subject: Small bugfix. git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@976 ab2d0c66-481e-0410-8bed-d214d4d58bed --- openntpd-model.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'openntpd-model.lua') 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) -- cgit v1.2.3