diff options
author | smitsohu <smitsohu@gmail.com> | 2022-01-23 12:42:58 +0100 |
---|---|---|
committer | smitsohu <smitsohu@gmail.com> | 2022-01-23 13:01:40 +0100 |
commit | 9672e30b24242ca67c11b8af9e78a0a8e7f99a3b (patch) | |
tree | b079c5cfd90193b53173a71f2f414d2457da69c2 /src | |
parent | build option: remove deprecated strace feature from manual (diff) | |
download | firejail-9672e30b24242ca67c11b8af9e78a0a8e7f99a3b.tar.gz firejail-9672e30b24242ca67c11b8af9e78a0a8e7f99a3b.tar.zst firejail-9672e30b24242ca67c11b8af9e78a0a8e7f99a3b.zip |
testing
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/sandbox.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c index 9c96f976a..96407d081 100644 --- a/src/firejail/sandbox.c +++ b/src/firejail/sandbox.c | |||
@@ -464,6 +464,9 @@ static void close_file_descriptors(void) { | |||
464 | if (arg_keep_fd_all) | 464 | if (arg_keep_fd_all) |
465 | return; | 465 | return; |
466 | 466 | ||
467 | if (arg_debug) | ||
468 | printf("Closing non-standard file descriptors\n"); | ||
469 | |||
467 | if (!cfg.keep_fd) { | 470 | if (!cfg.keep_fd) { |
468 | close_all(NULL, 0); | 471 | close_all(NULL, 0); |
469 | return; | 472 | return; |