1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-28 05:46:38 +02:00

exec: fix command displayed in debug message

This commit is contained in:
Sébastien Helleu
2018-11-17 11:17:37 +01:00
parent ba9b087ca3
commit c94a8f4c68
+2 -2
View File
@@ -576,9 +576,9 @@ exec_command_run (struct t_gui_buffer *buffer,
{
weechat_printf (NULL, "%s: executing command: \"%s%s%s\"",
EXEC_PLUGIN_NAME,
(cmd_options.use_shell) ? "" : "sh -c '",
(cmd_options.use_shell) ? "sh -c '" : "",
argv_eol[cmd_options.command_index],
(cmd_options.use_shell) ? "" : "'");
(cmd_options.use_shell) ? "'" : "");
}
new_exec_cmd->hook = weechat_hook_process_hashtable (
(cmd_options.use_shell) ? "sh" : argv_eol[cmd_options.command_index],