summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-09-17 11:52:48 +0000
committerTed Trask <ttrask01@yahoo.com>2009-09-17 11:52:48 +0000
commit60495849ac3e8297ec093c7a8d9dd2579ae730ff (patch)
tree8a6485c43ef6ec94d5faa7a72444cb29e0dd053c /lib
parent5836ec561f1f63abee5579203fb4ee7719410447 (diff)
downloadacf-core-60495849ac3e8297ec093c7a8d9dd2579ae730ff.tar.bz2
acf-core-60495849ac3e8297ec093c7a8d9dd2579ae730ff.tar.xz
Yet another bug fix for /lib/processinfo.lua read_initrunlevels for scripts with non-alphanumeric chars. Bumped to 0.8.3v0.8.3
Diffstat (limited to 'lib')
-rw-r--r--lib/processinfo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/processinfo.lua b/lib/processinfo.lua
index fd554d8..7058b04 100644
--- a/lib/processinfo.lua
+++ b/lib/processinfo.lua
@@ -46,7 +46,7 @@ function read_initrunlevels()
local cmdresult = f:read("*a") or ""
f:close()
for line in string.gmatch(cmdresult, "([^\n]*)\n?") do
- local service = string.match(line, "^%s*(%w+)")
+ local service = string.match(line, "^%s*(%S+)")
local runlevels = string.match(line, "|%s*(%S.*)")
if service then
local runlevel = {}