diff options
author | Matthew Wild <mwild1@gmail.com> | 2023-04-07 15:54:59 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2023-04-07 15:54:59 +0100 |
commit | 6d8647b3334818717c880418982b202daa9da154 (patch) | |
tree | 34c9fb948028ce7a970725a7df91ddb05ba3c99e | |
parent | d840f273201196765e75c97370efa4cd2ed8d75d (diff) | |
download | prosody-6d8647b3334818717c880418982b202daa9da154.tar.gz prosody-6d8647b3334818717c880418982b202daa9da154.zip |
prosodyctl: Fix using variable content in a format string
This broke if the error message contained a format specified such as '%s'.
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -669,7 +669,7 @@ local command_runner = async.runner(function () end os.exit(0, true); -- :) else - show_message("Failed to execute command: "..error_messages[ret]); + show_message("Failed to execute command: %s", error_messages[ret]); os.exit(1); -- :( end end |