# HG changeset patch # User Matthew Wild # Date 1247188612 -3600 # Node ID 9991329e6b6724b3416e97b98260136e86766246 # Parent 0c706c3d2e30730cbac1fa39ac6c18bf76a234a6 util.prosodyctl: Fix undefined global access diff -r 0c706c3d2e30 -r 9991329e6b67 util/prosodyctl.lua --- 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"));