prosodyctl
changeset 8109 86ec9045d095
parent 8108 851b50401a26
child 8110 83d776b344ad
--- 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