From 064e8596773fef919fdd159788d1b69fd9df13e2 Mon Sep 17 00:00:00 2001 From: Mika Havela Date: Tue, 6 May 2008 14:42:01 +0000 Subject: Fixed a bug when start/stop/restart the process. Buttons now enable/disable the right way. git-svn-id: svn://svn.alpinelinux.org/acf/squid/trunk@1106 ab2d0c66-481e-0410-8bed-d214d4d58bed --- squid-model.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'squid-model.lua') diff --git a/squid-model.lua b/squid-model.lua index f23f026..8e20e34 100644 --- a/squid-model.lua +++ b/squid-model.lua @@ -57,7 +57,7 @@ end --- get_status = function() - local t = procps.pidof(procname) + local t = procps.pidof(processname) local stats if (t) and (#t > 0) then stats = "Enabled" -- cgit v1.2.3