diff options
-rw-r--r-- | archival/gunzip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/archival/gunzip.c b/archival/gunzip.c index 6ec5c69ae..ca7e343cc 100644 --- a/archival/gunzip.c +++ b/archival/gunzip.c | |||
@@ -174,7 +174,8 @@ extern int gunzip_main(int argc, char **argv) | |||
174 | #endif | 174 | #endif |
175 | if (magic2 == 0x8b) { | 175 | if (magic2 == 0x8b) { |
176 | check_header_gzip(src_fd); | 176 | check_header_gzip(src_fd); |
177 | if (inflate(src_fd, dst_fd) != 0) { | 177 | status = inflate(src_fd, dst_fd); |
178 | if (status != 0) { | ||
178 | error_msg("Error inflating"); | 179 | error_msg("Error inflating"); |
179 | } | 180 | } |
180 | check_trailer_gzip(src_fd); | 181 | check_trailer_gzip(src_fd); |