mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
prosodyctl: Fix using variable content in a format string
This broke if the error message contained a format specified such as '%s'.
This commit is contained in:
parent
d840f27320
commit
6d8647b333
1 changed files with 1 additions and 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue