prosodyctl
changeset 11304 d0d64655e584
parent 11301 2e9d4c517919
child 11305 d7f0dc727a47
--- 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]);