aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2009-07-10 02:16:52 +0100
committerMatthew Wild <mwild1@gmail.com>2009-07-10 02:16:52 +0100
commit502cab5ff5b5bdb4feaf3a8a0f81ae40db5485e8 (patch)
treebd12072da46dc62608187582cd356c0a97d92999 /util
parent972ff8be5e6ee9984dc8979a7ac57c15d39b0dde (diff)
downloadprosody-502cab5ff5b5bdb4feaf3a8a0f81ae40db5485e8.tar.gz
prosody-502cab5ff5b5bdb4feaf3a8a0f81ae40db5485e8.zip
util.prosodyctl: Fix undefined global access
Diffstat (limited to 'util')
-rw-r--r--util/prosodyctl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua
index ce223459..2213e2d7 100644
--- a/util/prosodyctl.lua
+++ b/util/prosodyctl.lua
@@ -58,7 +58,7 @@ function getpid()
local file, err = io.open(pidfile);
if not file then
- return false, "pidfile-read-failed", ret;
+ return false, "pidfile-read-failed", err;
end
local pid = tonumber(file:read("*a"));