aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/env.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/firejail/env.c')
-rw-r--r--src/firejail/env.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/firejail/env.c b/src/firejail/env.c
index 2e9f516ba..f15e1362f 100644
--- a/src/firejail/env.c
+++ b/src/firejail/env.c
@@ -160,6 +160,11 @@ void env_defaults(void) {
160 // set the window title 160 // set the window title
161 if (!arg_quiet) 161 if (!arg_quiet)
162 printf("\033]0;firejail %s\007", cfg.window_title); 162 printf("\033]0;firejail %s\007", cfg.window_title);
163
164 // pass --quiet as an environment variable, in case the command calls further firejailed commands
165 if (arg_quiet)
166 setenv("FIREJAIL_QUIET", "yes", 1);
167
163 fflush(0); 168 fflush(0);
164} 169}
165 170