diff options
-rw-r--r-- | src/firejail/sandbox.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c index 318c45335..9a4be5cc0 100644 --- a/src/firejail/sandbox.c +++ b/src/firejail/sandbox.c | |||
@@ -462,10 +462,10 @@ static int ok_to_run(const char *program) { | |||
462 | 462 | ||
463 | void start_application(int no_sandbox, int fd, char *set_sandbox_status) { | 463 | void start_application(int no_sandbox, int fd, char *set_sandbox_status) { |
464 | // set environment | 464 | // set environment |
465 | if (no_sandbox == 0) { | 465 | if (no_sandbox == 0) |
466 | env_defaults(); | 466 | env_defaults(); |
467 | env_apply_all(); | 467 | env_apply_all(); |
468 | } | 468 | |
469 | // restore original umask | 469 | // restore original umask |
470 | umask(orig_umask); | 470 | umask(orig_umask); |
471 | 471 | ||