gunzip: use status code from gzip_decompress
This commit is contained in:
parent
1c0e741c99
commit
0e38268863
|
@ -83,7 +83,9 @@ int main(int argc, char * argv[]) {
|
|||
ctx.write_output = _write;
|
||||
ctx.ring = NULL; /* Use the global one */
|
||||
|
||||
gzip_decompress(&ctx);
|
||||
if (gzip_decompress(&ctx)) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (!to_stdout) {
|
||||
fclose(ctx.output_priv);
|
||||
|
|
Loading…
Reference in New Issue