diff options
author | Kim Alvefur <zash@zash.se> | 2021-01-21 19:20:08 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-01-21 19:20:08 +0100 |
commit | d35c2451b86a6f2c0c9a4fd86f4cbefe0bfbf344 (patch) | |
tree | efe39acce38211effd0c6bdcf0edda13d2d3bf6e /prosodyctl | |
parent | 57a971534d4c1da1c166e21024038f2ca8459746 (diff) | |
download | prosody-d35c2451b86a6f2c0c9a4fd86f4cbefe0bfbf344.tar.gz prosody-d35c2451b86a6f2c0c9a4fd86f4cbefe0bfbf344.zip |
prosodyctl: Move message after condition
If the condition is false, the message becomes a lie!
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -78,7 +78,6 @@ function commands.install(arg) 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 @@ function commands.install(arg) -- 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]); |