diff options
author | 2016-09-02 20:48:05 +0200 | |
---|---|---|
committer | 2016-09-02 20:48:05 +0200 | |
commit | 6485559a37b6741ce8fab38daf56c0edf6ee4cb4 (patch) | |
tree | 57fcd6639abcb81bdc439eea91dac98195f8207c | |
parent | Run correct zsh test (diff) | |
download | firejail-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.
-rw-r--r-- | src/firejail/env.c | 3 |
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 | ||