bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] Warning or error at failed close?


From: Vebjorn Ljosa
Subject: [Bug-tar] Warning or error at failed close?
Date: Thu, 8 Nov 2007 11:42:59 -0500
User-agent: Mutt/1.4.2.2i

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

[Prev in Thread] Current Thread [Next in Thread]