summaryrefslogtreecommitdiff
path: root/rhnop-server/conf.lua
diff options
context:
space:
mode:
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