diff -r 851b50401a26 -r 86ec9045d095 prosodyctl --- a/prosodyctl Fri Apr 21 13:29:04 2017 +0200 +++ b/prosodyctl Fri Apr 21 14:20:46 2017 +0200 @@ -838,7 +838,7 @@ 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