summaryrefslogtreecommitdiffstats
path: root/lib/processinfo.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lib/processinfo.lua')
-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 = {}