Software /
code /
prosody
Diff
util/prosodyctl.lua @ 1515:9991329e6b67
util.prosodyctl: Fix undefined global access
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 10 Jul 2009 02:16:52 +0100 |
parent | 1130:442c87de8e2d |
child | 1522:569d58d21612 |
line wrap: on
line diff
--- 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"));