aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/firejail/env.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/env.c b/src/firejail/env.c
index a8b344544..d74cebb39 100644
--- a/src/firejail/env.c
+++ b/src/firejail/env.c
@@ -158,7 +158,7 @@ void env_defaults(void) {
158 } 158 }
159 159
160 // set the window title 160 // set the window title
161 if (!arg_quiet) 161 if (!arg_quiet && isatty(STDOUT_FILENO))
162 printf("\033]0;firejail %s\007", cfg.window_title); 162 printf("\033]0;firejail %s\007", cfg.window_title);
163 163
164 // pass --quiet as an environment variable, in case the command calls further firejailed commands 164 // pass --quiet as an environment variable, in case the command calls further firejailed commands