mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
prosodyctl: Return non-zero status to indicate error
This commit is contained in:
parent
3c2a15fa08
commit
c732b4835f
1 changed files with 1 additions and 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue