summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/helper/slbt_archive_import.c2
-rw-r--r--src/helper/slbt_dump_machine.c4
2 files changed, 3 insertions, 3 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(
diff --git a/src/helper/slbt_dump_machine.c b/src/helper/slbt_dump_machine.c
index 4c2f6b5..fe453e6 100644
--- a/src/helper/slbt_dump_machine.c
+++ b/src/helper/slbt_dump_machine.c
@@ -37,12 +37,12 @@ static void slbt_dump_machine_child(
close(1);
if ((fd[0] = open("/dev/null",O_RDONLY)))
- exit(EXIT_FAILURE);
+ _exit(EXIT_FAILURE);
if (dup(fd[1]) == 1)
execvp(program,argv);
- exit(EXIT_FAILURE);
+ _exit(EXIT_FAILURE);
}
int slbt_dump_machine(