summaryrefslogtreecommitdiff
path: root/src/helper/slbt_archive_import.c
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-11-18 18:53:52 -0500
committermidipix <writeonce@midipix.org>2017-11-18 18:53:52 -0500
commitec6d7a3ad901cf5447353bdee159c99336ac9c2d (patch)
tree021043feddb4ca7c78b1468a4186e24bed4d70e8 /src/helper/slbt_archive_import.c
parent92a56fd24efcdedad35820de32094d3949c7c0ba (diff)
downloadslibtool-ec6d7a3ad901cf5447353bdee159c99336ac9c2d.tar.bz2
slibtool-ec6d7a3ad901cf5447353bdee159c99336ac9c2d.tar.xz
process forking and spawning: call _exit, not exit, in the child process.
Diffstat (limited to 'src/helper/slbt_archive_import.c')
-rw-r--r--src/helper/slbt_archive_import.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/slbt_archive_import.c b/src/helper/slbt_archive_import.c
index d9dee0e..0d3ea52 100644
--- a/src/helper/slbt_archive_import.c
+++ b/src/helper/slbt_archive_import.c
@@ -70,7 +70,7 @@ static void slbt_archive_import_child(
if (dup(fd[0]) == 0)
execvp(program,argv);
- exit(EXIT_FAILURE);
+ _exit(EXIT_FAILURE);
}
int slbt_archive_import(