diff options
author | netblue30 <netblue30@yahoo.com> | 2017-04-28 11:26:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-28 11:26:25 -0400 |
commit | 28d3f2b52ee97a685ab32833a7cc02e01f2d78ec (patch) | |
tree | 560b0cb12b81cd8576246373f712a94829b5bf85 /src | |
parent | Merge pull request #1253 from dutchcoders/overlay (diff) | |
parent | Prevent running shells recursively (diff) | |
download | firejail-28d3f2b52ee97a685ab32833a7cc02e01f2d78ec.tar.gz firejail-28d3f2b52ee97a685ab32833a7cc02e01f2d78ec.tar.zst firejail-28d3f2b52ee97a685ab32833a7cc02e01f2d78ec.zip |
Merge pull request #1254 from dutchcoders/fix-recursive-shell
Prevent running shells recursively
Diffstat (limited to 'src')
-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 | } |