Software /
code /
prosody
Changeset
11300:d0d64655e584
prosodyctl: Move message after condition
If the condition is false, the message becomes a lie!
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 21 Jan 2021 19:20:08 +0100 |
parents | 11299:abe8cd8fad14 |
children | 11301:d7f0dc727a47 |
files | prosodyctl |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/prosodyctl Thu Jan 21 19:18:38 2021 +0100 +++ b/prosodyctl Thu Jan 21 19:20:08 2021 +0100 @@ -78,7 +78,6 @@ show_usage([[install]], [[Installs a prosody/luarocks plugin]]); return 1; end - show_message("Installing %s in %s", arg[1], prosody.paths.installer); -- TODO finalize config option name local server = configmanager.get("*", "plugin_server"); if not server then @@ -86,6 +85,7 @@ -- see https://prosody.im/doc/TODO documentation return 1; end + show_message("Installing %s in %s", arg[1], prosody.paths.installer); local ret = call_luarocks("install", arg[1], server); if ret == 0 then prosodyctl.show_module_configuration_help(arg[1]);