aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/firejail/env.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/firejail/env.c b/src/firejail/env.c
index 1a6236407..a5b3ccfb3 100644
--- a/src/firejail/env.c
+++ b/src/firejail/env.c
@@ -132,12 +132,8 @@ void env_defaults(void) {
132 if (setenv("PROMPT_COMMAND", "export PS1=\"\\[\\e[1;32m\\][\\u@\\h \\W]\\$\\[\\e[0m\\] \"", 1) < 0) 132 if (setenv("PROMPT_COMMAND", "export PS1=\"\\[\\e[1;32m\\][\\u@\\h \\W]\\$\\[\\e[0m\\] \"", 1) < 0)
133 errExit("setenv"); 133 errExit("setenv");
134 134
135 // build the window title and set it 135 // set the window title
136 char *title; 136 printf("\033]0;firejail %s\007\n", cfg.window_title);
137 if (asprintf(&title, "\033]0;firejail %s\007\n", cfg.window_title) == -1)
138 errExit("asprintf");
139 printf("%s", title);
140 free(title);
141} 137}
142 138
143// parse and store the environment setting 139// parse and store the environment setting