diff options
author | 2017-04-28 10:35:14 +0200 | |
---|---|---|
committer | 2017-04-28 10:41:45 +0200 | |
commit | 57b457cf4556980f1b0e2cc34bfae53a62143cb1 (patch) | |
tree | d35c3758c83119fe2ec515cce2ab07af497df227 | |
parent | typo fixes for #1249 (diff) | |
download | firejail-57b457cf4556980f1b0e2cc34bfae53a62143cb1.tar.gz firejail-57b457cf4556980f1b0e2cc34bfae53a62143cb1.tar.zst firejail-57b457cf4556980f1b0e2cc34bfae53a62143cb1.zip |
Prevent running shells recursively
-rw-r--r-- | src/firejail/no_sandbox.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/firejail/no_sandbox.c b/src/firejail/no_sandbox.c index ecbc5d1d0..9221aaa99 100644 --- a/src/firejail/no_sandbox.c +++ b/src/firejail/no_sandbox.c | |||
@@ -229,5 +229,9 @@ void run_no_sandbox(int argc, char **argv) { | |||
229 | "%s will run without any additional sandboxing features\n", command); | 229 | "%s will run without any additional sandboxing features\n", command); |
230 | 230 | ||
231 | arg_quiet = 1; | 231 | arg_quiet = 1; |
232 | |||
233 | // we don't want to run a shell, otherwise it will be recursively | ||
234 | arg_shell_none = 1; | ||
235 | |||
232 | start_application(); | 236 | start_application(); |
233 | } | 237 | } |