aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/firejail/sandbox.c3
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;