From 88f5f0e13db107989e8204bbc41161eab775b4d4 Mon Sep 17 00:00:00 2001 From: Johannes Hofmann Date: Sun, 6 Jul 2008 10:23:20 +0200 Subject: use _exit() even with fork() --- src/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/util.c b/src/util.c index c5f4515..885538f 100644 --- a/src/util.c +++ b/src/util.c @@ -46,7 +46,7 @@ pexecvp(const char *file, char *const argv[], pid_t *pid, char *type) { } execvp(file, argv); - exit(127); + _exit(127); } else { /* parent */ if (*type == 'r') { -- cgit v1.2.3