If you look at the gzip source code you'll find a number of circumstances that will cause it to exit with status 2, as a warning. This API isn't likely to change any time soon, I'm afraid, as gzip is fairly frozen.
- Re: [Bug-tar] [PATCH] Do not fail when 'compress' is una... Paul Eggert
- Re: [Bug-tar] [PATCH] Do not fail when 'compress' is una... Pavel Raiskup
- Re: [Bug-tar] [PATCH] Do not fail when 'compress' is una... Paul Eggert
- Re: [Bug-tar] [PATCH] Do not fail when 'compress' is una... Pavel Raiskup
- Re: [Bug-tar] [PATCH] Do not fail when 'compress' is una... Paul Eggert
- Re: [Bug-tar] [PATCH] Do not fail when 'compress' is una... Pavel Raiskup
- Re: [Bug-tar] [PATCH] Do not fail when 'compress' is una... Antonio Diaz Diaz
- Re: [Bug-tar] [PATCH] Do not fail when 'compress' is una... Paul Eggert
- Re: [Bug-tar] [PATCH] Do not fail when 'compress' is una... Antonio Diaz Diaz
- Re: [Bug-tar] [PATCH] Do not fail when 'compress' is una... Pavel Raiskup
- Re: [Bug-tar] [PATCH] Do not fail when 'compress' is una... Paul Eggert
- Re: [Bug-tar] Do not fail when 'compress' is unable to p... Antonio Diaz Diaz
- Re: [Bug-tar] Do not fail when 'compress' is unable to p... Tim Kientzle
- Re: [Bug-tar] Do not fail when 'compress' is unable to p... Antonio Diaz Diaz
- Re: [Bug-tar] Do not fail when 'compress' is unable to p... Stefano Lattarini
- Re: [Bug-tar] Do not fail when 'compress' is unable to p... Antonio Diaz Diaz
- Re: [Bug-tar] [PATCH] Do not fail when 'compress' is una... Paul Eggert
- [Bug-tar] [PATCH] tar: do not fail hardly when compresso... Pavel Raiskup
- Re: [Bug-tar] [PATCH] tar: do not fail hardly when compr... Antonio Diaz Diaz
- Re: [Bug-tar] [PATCH] tar: do not fail hardly when compr... Pavel Raiskup
- Re: [Bug-tar] tar: do not fail hardly when compressor ju... Antonio Diaz Diaz