diff options
-rw-r--r-- | src/firejail/join.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/firejail/join.c b/src/firejail/join.c index aba8f064b..47d31669d 100644 --- a/src/firejail/join.c +++ b/src/firejail/join.c | |||
@@ -62,9 +62,9 @@ static void extract_command(int argc, char **argv, int index) { | |||
62 | *cfg.command_line = '\0'; | 62 | *cfg.command_line = '\0'; |
63 | for (i = index; i < argc; i++) { | 63 | for (i = index; i < argc; i++) { |
64 | if (strchr(argv[i], '&')) { | 64 | if (strchr(argv[i], '&')) { |
65 | strcat(cfg.command_line, "\""); | 65 | strcat(cfg.command_line, "\'"); |
66 | strcat(cfg.command_line, argv[i]); | 66 | strcat(cfg.command_line, argv[i]); |
67 | strcat(cfg.command_line, "\" "); | 67 | strcat(cfg.command_line, "\' "); |
68 | } | 68 | } |
69 | else { | 69 | else { |
70 | strcat(cfg.command_line, argv[i]); | 70 | strcat(cfg.command_line, argv[i]); |