bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] tar with -k option no longer warns when not overwriting fi


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] tar with -k option no longer warns when not overwriting files
Date: Sat, 19 Nov 2011 15:00:14 +0200

Hi Jim,

> All of this to say that I hope there is some way to make
> tar work the way it used to with those options,

Up to version 1.22 tar would exit with a non-zero error code in such
cases.  Do you propose to restore this behavior too?  In my opinion,
it is inconsistent, because there were no real errors, so there should
be no reason for a non-zero exit code either.  Besides, that would make
it hard to discern from real error cases.

> yet without
> having to impose the -v option on all uses, which would likely
> break some users of tar.

Actually, tar don't impose the -v option, since merely using
--warning=existing-file turns the warning on without having other
effects.  

On the other hand, -v turns on the otherwise suppressed warnings (not
only this particular one), because it is coherent with its main
function, which is to increase verbosity.

Regards,
Sergey



reply via email to

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