From 502cab5ff5b5bdb4feaf3a8a0f81ae40db5485e8 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 10 Jul 2009 02:16:52 +0100 Subject: util.prosodyctl: Fix undefined global access --- util/prosodyctl.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'util') 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")); -- cgit v1.2.3