diff options
author | netblue30 <netblue30@protonmail.com> | 2023-01-19 08:26:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-19 08:26:36 -0500 |
commit | 62e6919b36876b83dc607b2dce950560609bc876 (patch) | |
tree | d4ef1b5430bd912064c9943927dc6dddfcbb8ad5 | |
parent | cleanup (diff) | |
parent | Stop forwarding own double-dash to the shell (diff) | |
download | firejail-62e6919b36876b83dc607b2dce950560609bc876.tar.gz firejail-62e6919b36876b83dc607b2dce950560609bc876.tar.zst firejail-62e6919b36876b83dc607b2dce950560609bc876.zip |
Merge pull request #5600 from kmk3/fix-stop-ddash-sh
modif: Stop forwarding own double-dash to the shell
-rw-r--r-- | src/firejail/sandbox.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c index 77fe73174..1afb3a293 100644 --- a/src/firejail/sandbox.c +++ b/src/firejail/sandbox.c | |||
@@ -580,8 +580,6 @@ void start_application(int no_sandbox, int fd, char *set_sandbox_status) { | |||
580 | if (arg_debug) | 580 | if (arg_debug) |
581 | printf("Running %s command through %s\n", cfg.command_line, cfg.usershell); | 581 | printf("Running %s command through %s\n", cfg.command_line, cfg.usershell); |
582 | arg[index++] = "-c"; | 582 | arg[index++] = "-c"; |
583 | if (arg_doubledash) | ||
584 | arg[index++] = "--"; | ||
585 | arg[index++] = cfg.command_line; | 583 | arg[index++] = cfg.command_line; |
586 | } | 584 | } |
587 | else if (login_shell) { | 585 | else if (login_shell) { |