diff options
Diffstat (limited to 'src/faudit/syscall.c')
-rw-r--r-- | src/faudit/syscall.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/faudit/syscall.c b/src/faudit/syscall.c index 9924be00f..3c87305df 100644 --- a/src/faudit/syscall.c +++ b/src/faudit/syscall.c | |||
@@ -92,7 +92,8 @@ void syscall_run(const char *name) { | |||
92 | errExit("fork"); | 92 | errExit("fork"); |
93 | if (child == 0) { | 93 | if (child == 0) { |
94 | execl(prog, prog, "syscall", name, NULL); | 94 | execl(prog, prog, "syscall", name, NULL); |
95 | exit(1); | 95 | perror("execl"); |
96 | _exit(1); | ||
96 | } | 97 | } |
97 | 98 | ||
98 | // wait for the child to finish | 99 | // wait for the child to finish |