summaryrefslogtreecommitdiffstats
path: root/squid-model.lua
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2008-05-06 14:42:01 +0000
committerMika Havela <mika.havela@gmail.com>2008-05-06 14:42:01 +0000
commit064e8596773fef919fdd159788d1b69fd9df13e2 (patch)
tree815b16e2f79211438568c8d2ce75f5c4ce1d82fa /squid-model.lua
parent8fe21698be1d61a66614019df3900d24715f63dd (diff)
downloadacf-squid-064e8596773fef919fdd159788d1b69fd9df13e2.tar.bz2
acf-squid-064e8596773fef919fdd159788d1b69fd9df13e2.tar.xz
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
Diffstat (limited to 'squid-model.lua')
-rw-r--r--squid-model.lua2
1 files changed, 1 insertions, 1 deletions
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"