diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/firecfg/firecfg.config | 1 | ||||
-rw-r--r-- | src/firejail/sandbox.c | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/firecfg/firecfg.config b/src/firecfg/firecfg.config index 17563cde3..f061003b1 100644 --- a/src/firecfg/firecfg.config +++ b/src/firecfg/firecfg.config | |||
@@ -788,6 +788,7 @@ telegram | |||
788 | telegram-desktop | 788 | telegram-desktop |
789 | telnet | 789 | telnet |
790 | terasology | 790 | terasology |
791 | tesseract | ||
791 | textmaker18 | 792 | textmaker18 |
792 | textmaker18free | 793 | textmaker18free |
793 | thunderbird | 794 | thunderbird |
diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c index 9299268a3..bae189a0d 100644 --- a/src/firejail/sandbox.c +++ b/src/firejail/sandbox.c | |||
@@ -1127,8 +1127,10 @@ int sandbox(void* sandbox_arg) { | |||
1127 | struct stat s; | 1127 | struct stat s; |
1128 | if (stat(cfg.homedir, &s) == 0) { | 1128 | if (stat(cfg.homedir, &s) == 0) { |
1129 | /* coverity[toctou] */ | 1129 | /* coverity[toctou] */ |
1130 | if (chdir(cfg.homedir) < 0) | 1130 | if (chdir(cfg.homedir) < 0) { |
1131 | errExit("chdir"); | 1131 | fprintf(stderr, "Error: unable to enter home directory: %s: %s\n", cfg.homedir, strerror(errno)); |
1132 | exit(1); | ||
1133 | } | ||
1132 | } | 1134 | } |
1133 | } | 1135 | } |
1134 | } | 1136 | } |