summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--rhnop-server/qlistener.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/rhnop-server/qlistener.lua b/rhnop-server/qlistener.lua
index 3885f41..0371a02 100644
--- a/rhnop-server/qlistener.lua
+++ b/rhnop-server/qlistener.lua
@@ -62,7 +62,7 @@ function main_loop()
posix.umask("rwxrwxr-x")
local q, err = mq.create(conf.queue_name, "ro", "rw-rw----")
if q == nil then
- q, err = mq.open(queue_name, "wo")
+ q, err = mq.open(conf.queue_name, "wo")
if q == nil then
io.stderr:write("creation of message queue failed: " .. err .. "\n")
os.exit(1)