Fri, 10 Jul 2009 02:16:52 +0100
util.prosodyctl: Fix undefined global access
util/prosodyctl.lua | file | annotate | diff | comparison | revisions |
--- a/util/prosodyctl.lua Fri Jul 10 02:11:00 2009 +0100 +++ b/util/prosodyctl.lua Fri Jul 10 02:16:52 2009 +0100 @@ -58,7 +58,7 @@ 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"));