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 | 451ec7734c8e9741e6d21b1e6839db16e46f7ca4 (patch) | |
tree | 44105c16c9555c26fe47699a67eaf7343f46c7fd /prosodyctl | |
parent | 4b189254a79425533ab469e1c9b5a2017e8335ea (diff) | |
download | prosody-451ec7734c8e9741e6d21b1e6839db16e46f7ca4.tar.gz prosody-451ec7734c8e9741e6d21b1e6839db16e46f7ca4.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 |