diff --git a/src/tools/fs_shell/fs_shell_command.cpp b/src/tools/fs_shell/fs_shell_command.cpp index c6f7981d5a..297dacfa59 100644 --- a/src/tools/fs_shell/fs_shell_command.cpp +++ b/src/tools/fs_shell/fs_shell_command.cpp @@ -35,7 +35,7 @@ prepare_command_string(const char *const *argv, int argc, char *buffer, add_char(buffer, bufferSize, ' '); while (*arg) { - if (strchr(" \\", *arg)) + if (strchr(" \"'\\", *arg)) add_char(buffer, bufferSize, '\\'); add_char(buffer, bufferSize, *arg); arg++;