From 451ec7734c8e9741e6d21b1e6839db16e46f7ca4 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 21 Apr 2017 14:20:46 +0200 Subject: prosodyctl: Return non-zero status to indicate error --- prosodyctl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prosodyctl') diff --git a/prosodyctl b/prosodyctl index 4d947179..57899607 100755 --- a/prosodyctl +++ b/prosodyctl @@ -838,7 +838,7 @@ function commands.cert(arg) end if arg[1] ~= "--help" and not hosts[arg[1]] then show_message(error_messages["no-such-host"]); - return + return 1; end return cert_commands[subcmd](arg); end -- cgit v1.2.3