diff options
-rw-r--r-- | usr.bin/tar/write.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/usr.bin/tar/write.c b/usr.bin/tar/write.c index d7fbcfb..255074c 100644 --- a/usr.bin/tar/write.c +++ b/usr.bin/tar/write.c @@ -860,8 +860,6 @@ write_file_data(struct bsdtar *bsdtar, struct archive *a, int fd) /* Write was truncated; warn but continue. */ bsdtar_warnc(bsdtar, 0, "Truncated write; file may have grown while being archived."); - /* Make bsdtar return a final error because of this. */ - bsdtar->return_value = 1; return (0); } bytes_read = read(fd, buff, sizeof(buff)); |