aboutsummaryrefslogtreecommitdiff
path: root/toys/pending/tar.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/pending/tar.c')
-rw-r--r--toys/pending/tar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/pending/tar.c b/toys/pending/tar.c
index c8b6dff8..6140ea5d 100644
--- a/toys/pending/tar.c
+++ b/toys/pending/tar.c
@@ -287,7 +287,7 @@ static void compress_stream(struct archive_handler *tar_hdl)
int pipefd[2];
pid_t cpid;
- if (pipe(pipefd) == -1) error_exit("pipe");
+ xpipe(pipefd);
signal(SIGPIPE, SIG_IGN);
cpid = fork();