aboutsummaryrefslogtreecommitdiffstats
path: root/util/prosodyctl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/prosodyctl.lua')
-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"));