diff options
author | Kim Alvefur <zash@zash.se> | 2017-04-21 14:20:46 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2017-04-21 14:20:46 +0200 |
commit | c732b4835fde723ab0555688a7e8f3b40ef86b11 (patch) | |
tree | 44105c16c9555c26fe47699a67eaf7343f46c7fd /prosodyctl | |
parent | 3c2a15fa08b2253125d5a0f6934a2357083c4ef8 (diff) | |
download | prosody-c732b4835fde723ab0555688a7e8f3b40ef86b11.tar.gz prosody-c732b4835fde723ab0555688a7e8f3b40ef86b11.zip |
prosodyctl: Return non-zero status to indicate error
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |