diff options
Diffstat (limited to 'archival')
-rw-r--r-- | archival/tar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archival/tar.c b/archival/tar.c index 9d50a101d..efdc46587 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -477,8 +477,8 @@ static inline int writeTarFile(const int tar_fd, const int verboseFlag, | |||
477 | dup2(gzipDataPipe[0], 0); | 477 | dup2(gzipDataPipe[0], 0); |
478 | close(gzipDataPipe[1]); | 478 | close(gzipDataPipe[1]); |
479 | 479 | ||
480 | if (tbInfo.tarFd != 1); | 480 | if (tbInfo.tarFd != 1) |
481 | dup2(tbInfo.tarFd, 1); | 481 | dup2(tbInfo.tarFd, 1); |
482 | 482 | ||
483 | close(gzipStatusPipe[0]); | 483 | close(gzipStatusPipe[0]); |
484 | fcntl(gzipStatusPipe[1], F_SETFD, FD_CLOEXEC); /* close on exec shows sucess */ | 484 | fcntl(gzipStatusPipe[1], F_SETFD, FD_CLOEXEC); /* close on exec shows sucess */ |