summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-07-05 22:06:22 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-07-05 22:06:22 +0200
commit653a39107c7f4ae765b27d353f9dbc62880abffb (patch)
treed91f0e37f96da6a0e6d41c3346a1aca10089da5a
parentc2a830a4bb5f23791c4131132a4b7efbf7c918c0 (diff)
use _exit() even with fork()
-rw-r--r--src/util.c2
1 files changed, 1 insertions, 1 deletions
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') {