Hi,

I noticed that if tar fails to close the archive, it prints the
warning but still exits successfully:

$ tar cpf neurons.tar neurons && rm -rf neurons
tar: neurons.tar: Warning: Cannot close: Disk quota exceeded
$ cd neurons
-bash: cd: neurons: No such file or directory
$ # panic!

Shouldn't tar exit with non-zero when close fails?  If you agree, I
can submit a patch.

Thanks,
Vebjorn


Reply via email to