From e84f396369f6eda989b61cfb9a3564f0fd4c26e0 Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Tue, 4 Mar 2008 12:10:05 +0000 Subject: Fixed a small bug that caused the Enabled/Disabled information to display wrong info. git-svn-id: svn://svn.alpinelinux.org/acf/openntpd/trunk@800 ab2d0c66-481e-0410-8bed-d214d4d58bed --- openntpd-model.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'openntpd-model.lua') diff --git a/openntpd-model.lua b/openntpd-model.lua index 2466769..d2c726c 100644 --- a/openntpd-model.lua +++ b/openntpd-model.lua @@ -11,6 +11,7 @@ require("daemoncontrol") local configfile = "/etc/ntpd.conf" local confdfile = "/etc/conf.d/ntpd" local processname = "openntpd" +local processname_short = "ntpd" -- ################################################################################ -- LOCAL FUNCTIONS @@ -214,7 +215,7 @@ function getstatus () status.status = cfe({ name="status", label="Program status", - value=procps.pidof(processname), + value=procps.pidof(processname_short), }) status.date = config.date -- cgit v1.2.3