aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archival/bunzip2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/archival/bunzip2.c b/archival/bunzip2.c
index eb5238cd4..4f231c959 100644
--- a/archival/bunzip2.c
+++ b/archival/bunzip2.c
@@ -83,7 +83,7 @@ int bunzip2_main(int argc, char **argv)
83 dst_fd = bb_xopen(save_name, O_WRONLY | O_CREAT); 83 dst_fd = bb_xopen(save_name, O_WRONLY | O_CREAT);
84 } 84 }
85 85
86 if (uncompressStream(src_fd, dst_fd)) { 86 if (uncompressStream(src_fd, dst_fd) == 0) {
87 if (!(flags & bunzip_to_stdout)) { 87 if (!(flags & bunzip_to_stdout)) {
88 delete_name = argv[optind]; 88 delete_name = argv[optind];
89 } 89 }