diff options
Diffstat (limited to 'src/firejail/ls.c')
-rw-r--r-- | src/firejail/ls.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/firejail/ls.c b/src/firejail/ls.c index 39efaa0a6..dba82be0b 100644 --- a/src/firejail/ls.c +++ b/src/firejail/ls.c | |||
@@ -358,7 +358,7 @@ void sandboxfs(int op, pid_t pid, const char *path1, const char *path2) { | |||
358 | fprintf(stderr, "Error: Cannot read %s\n", fname1); | 358 | fprintf(stderr, "Error: Cannot read %s\n", fname1); |
359 | exit(1); | 359 | exit(1); |
360 | } | 360 | } |
361 | exit(0); | 361 | _exit(0); |
362 | } | 362 | } |
363 | 363 | ||
364 | // wait for the child to finish | 364 | // wait for the child to finish |
@@ -391,7 +391,7 @@ void sandboxfs(int op, pid_t pid, const char *path1, const char *path2) { | |||
391 | exit(1); | 391 | exit(1); |
392 | } | 392 | } |
393 | fclose(fp); | 393 | fclose(fp); |
394 | exit(0); | 394 | _exit(0); |
395 | } | 395 | } |
396 | 396 | ||
397 | // wait for the child to finish | 397 | // wait for the child to finish |
@@ -445,7 +445,7 @@ void sandboxfs(int op, pid_t pid, const char *path1, const char *path2) { | |||
445 | fprintf(stderr, "Error: Cannot read %s\n", src_fname); | 445 | fprintf(stderr, "Error: Cannot read %s\n", src_fname); |
446 | exit(1); | 446 | exit(1); |
447 | } | 447 | } |
448 | exit(0); | 448 | _exit(0); |
449 | } | 449 | } |
450 | 450 | ||
451 | // wait for the child to finish | 451 | // wait for the child to finish |
@@ -494,7 +494,7 @@ void sandboxfs(int op, pid_t pid, const char *path1, const char *path2) { | |||
494 | } | 494 | } |
495 | } | 495 | } |
496 | 496 | ||
497 | exit(0); | 497 | _exit(0); |
498 | } | 498 | } |
499 | 499 | ||
500 | // wait for the child to finish | 500 | // wait for the child to finish |