aboutsummaryrefslogtreecommitdiffstats
path: root/util/prosodyctl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/prosodyctl.lua')
-rw-r--r--util/prosodyctl.lua5
1 files changed, 1 insertions, 4 deletions
diff --git a/util/prosodyctl.lua b/util/prosodyctl.lua
index efe3f5f3..f659d7f4 100644
--- a/util/prosodyctl.lua
+++ b/util/prosodyctl.lua
@@ -225,10 +225,7 @@ local function call_luarocks(operation, mod, server)
dir = dir; op = operation; mod = mod; server = server;
}));
if type(ok) == "number" then ok, code = ok == 0, ok; end
- if not ok then
- return code;
- end
- return true;
+ return code;
end
return {