summaryrefslogtreecommitdiff
path: root/rhnop-server/conf.lua
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2011-03-30 02:46:42 (GMT)
committerChristian Pointner <equinox@helsinki.at>2011-03-30 02:46:42 (GMT)
commit50bdc20f9024216de8f6cb45756ca54ffec42a5d (patch)
treebe4ab5d0870105aa79e5f89ba5dcc076724114de /rhnop-server/conf.lua
parent97ea5eee07f939f03a87c2d8df1c996ef38ca4b2 (diff)
added libdir handling
Diffstat (limited to 'rhnop-server/conf.lua')
-rw-r--r--rhnop-server/conf.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/rhnop-server/conf.lua b/rhnop-server/conf.lua
index 83257b5..8e97650 100644
--- a/rhnop-server/conf.lua
+++ b/rhnop-server/conf.lua
@@ -21,7 +21,9 @@
local conf = {}
-local file = assert(io.open("nopsyncd.conf", "r"))
+local filename = "nopsyncd.conf"
+
+local file = assert(io.open(filename, "r"))
for line in file:lines() do
local k,v = string.match(line, "^([^=#]+)=(.*)$")
if k and v and v ~= "" then