Remove some tar_gz stuff that get dragged in
This commit is contained in:
parent
94cf153c2b
commit
1a41db8eaf
@ -44,11 +44,12 @@ extern char get_header_tar_bz2(archive_handle_t *archive_handle)
|
|||||||
|
|
||||||
if (pid == 0) {
|
if (pid == 0) {
|
||||||
/* child process */
|
/* child process */
|
||||||
|
int status;
|
||||||
|
|
||||||
close(fd_pipe[0]); /* We don't wan't to read from the pipe */
|
close(fd_pipe[0]); /* We don't wan't to read from the pipe */
|
||||||
uncompressStream(archive_handle->src_fd, fd_pipe[1]);
|
uncompressStream(archive_handle->src_fd, fd_pipe[1]);
|
||||||
check_trailer_gzip(archive_handle->src_fd);
|
|
||||||
close(fd_pipe[1]); /* Send EOF */
|
close(fd_pipe[1]); /* Send EOF */
|
||||||
exit(0);
|
exit(status);
|
||||||
/* notreached */
|
/* notreached */
|
||||||
}
|
}
|
||||||
/* parent process */
|
/* parent process */
|
||||||
|
Loading…
Reference in New Issue
Block a user