diff options
Diffstat (limited to 'src/firejail/sandbox.c')
-rw-r--r-- | src/firejail/sandbox.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c index 6135c8eac..46cb03da7 100644 --- a/src/firejail/sandbox.c +++ b/src/firejail/sandbox.c | |||
@@ -359,7 +359,8 @@ int sandbox(void* sandbox_arg) { | |||
359 | //export PS1='\[\e[1;32m\][\u@\h \W]\$\[\e[0m\] ' | 359 | //export PS1='\[\e[1;32m\][\u@\h \W]\$\[\e[0m\] ' |
360 | if (setenv("PROMPT_COMMAND", "export PS1=\"\\[\\e[1;32m\\][\\u@\\h \\W]\\$\\[\\e[0m\\] \"", 1) < 0) | 360 | if (setenv("PROMPT_COMMAND", "export PS1=\"\\[\\e[1;32m\\][\\u@\\h \\W]\\$\\[\\e[0m\\] \"", 1) < 0) |
361 | errExit("setenv"); | 361 | errExit("setenv"); |
362 | 362 | // set user-supplied environment variables | |
363 | env_apply(); | ||
363 | 364 | ||
364 | // set capabilities | 365 | // set capabilities |
365 | if (!arg_noroot) | 366 | if (!arg_noroot) |