> Still, the current patch doesn't seem quite right;
> what if the user specifies -I/usr/bin/gzip, or
> something like that?  It seems to me that we need
> to let the user specify one or more "ok exit statuses",
> i.e., exit statuses to treat as if they were zero.

I think that the '-I' should define perfectly the program return values.
So the -I /usr/bin/gzip could be considered like bad usage - and tar
behaves like this now.

Do you want some new "relaxing" option for specifying correct exit values?
Possibly --relax-compressor-exit (or any other idea)?  I'm partly against
this because it complicates tar's api & user is always able to write
very simple wrapper, but I'd be glad to implement it if you don't want to
do it yourself.

Pavel


Reply via email to