summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-07-06 10:23:20 +0200
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2008-07-06 10:23:20 +0200
commit88f5f0e13db107989e8204bbc41161eab775b4d4 (patch)
tree0244fe51f780606390df7e27c176342c5362e650
parentafd790ead33cea06cc36c37d85c1dec0b84b3fe0 (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') {