aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Reiner Herrmann <reiner@reiner-h.de>2016-09-02 20:48:05 +0200
committerLibravatar Reiner Herrmann <reiner@reiner-h.de>2016-09-02 20:48:05 +0200
commit6485559a37b6741ce8fab38daf56c0edf6ee4cb4 (patch)
tree57fcd6639abcb81bdc439eea91dac98195f8207c /src
parentRun correct zsh test (diff)
downloadfirejail-6485559a37b6741ce8fab38daf56c0edf6ee4cb4.tar.gz
firejail-6485559a37b6741ce8fab38daf56c0edf6ee4cb4.tar.zst
firejail-6485559a37b6741ce8fab38daf56c0edf6ee4cb4.zip
Don't set window title in quiet mode
Tools using the quiet mode don't expect anything foreign on stdout.
Diffstat (limited to 'src')
-rw-r--r--src/firejail/env.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firejail/env.c b/src/firejail/env.c
index 2cc65e464..88cd6918d 100644
--- a/src/firejail/env.c
+++ b/src/firejail/env.c
@@ -135,7 +135,8 @@ void env_defaults(void) {
135 } 135 }
136 136
137 // set the window title 137 // set the window title
138 printf("\033]0;firejail %s\007", cfg.window_title); 138 if (!arg_quiet)
139 printf("\033]0;firejail %s\007", cfg.window_title);
139 fflush(0); 140 fflush(0);
140} 141}
141 142