summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2009-10-30 15:14:27 +0000
committerTed Trask <ttrask01@yahoo.com>2009-10-30 15:14:27 +0000
commit745963fee5b2fd4da7ef296a329686c85ea62425 (patch)
tree0df9c415b825d8b50685919a177412ea65c88e42
parent1aea084e5646c314bcbb2ca5427156fe3f0d7a24 (diff)
downloadacf-alpine-conf-745963fee5b2fd4da7ef296a329686c85ea62425.tar.bz2
acf-alpine-conf-745963fee5b2fd4da7ef296a329686c85ea62425.tar.xz
Removed bad line from file change list by tightening regexp.
-rw-r--r--lbu-model.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lbu-model.lua b/lbu-model.lua
index 19217e1..204d958 100644
--- a/lbu-model.lua
+++ b/lbu-model.lua
@@ -28,7 +28,7 @@ local function getLbuStatus()
for line in f:lines() do
if (string.match(line, "^Include files")) then break end
if (string.match(line, "^Exclude files")) then break end
- local status, name = string.match(line, "^(%S+)%s+(.+)$")
+ local status, name = string.match(line, "^(%S)%s+(.+)$")
if (status) and (name) then
ret[string.gsub('/' .. name, "/+", "/")] = status
end