diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-07-10 02:16:52 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-07-10 02:16:52 +0100 |
commit | 502cab5ff5b5bdb4feaf3a8a0f81ae40db5485e8 (patch) | |
tree | bd12072da46dc62608187582cd356c0a97d92999 /util | |
parent | 972ff8be5e6ee9984dc8979a7ac57c15d39b0dde (diff) | |
download | prosody-502cab5ff5b5bdb4feaf3a8a0f81ae40db5485e8.tar.gz prosody-502cab5ff5b5bdb4feaf3a8a0f81ae40db5485e8.zip |
util.prosodyctl: Fix undefined global access
Diffstat (limited to 'util')
-rw-r--r-- | util/prosodyctl.lua | 2 |
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")); |