# HG changeset patch # User Kim Alvefur # Date 1492777246 -7200 # Node ID 86ec9045d095fa9edf27475a9dd945c5a356efbd # Parent 851b50401a26ae449712c904c6917a57b1b92f31 prosodyctl: Return non-zero status to indicate error 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