diff options
Diffstat (limited to 'rhnop-server/noprml')
-rwxr-xr-x | rhnop-server/noprml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/rhnop-server/noprml b/rhnop-server/noprml index 9c572b2..6065948 100755 --- a/rhnop-server/noprml +++ b/rhnop-server/noprml @@ -47,8 +47,11 @@ end posix.umask("rwxrwxr-x") local q, err = mq.create(queue_name, "wo", "rw-rw----") if q == nil then - io.stderr:write("creation of message queue failed: " .. err .. "\n") - os.exit(1) + q, err = mq.open(queue_name, "wo") + if q == nil then + io.stderr:write("creation of message queue failed: " .. err .. "\n") + os.exit(1) + end end -- send out message to nopsyncd |