coreutils
[Top][All Lists]
Advanced

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

Re: cp -n: now exits yet without error message


From: Arsen Arsenović
Subject: Re: cp -n: now exits yet without error message
Date: Thu, 06 Apr 2023 23:02:39 +0200

Hi there,

Bernhard Voelker <mail@bernhard-voelker.de> writes:

> Hi,
>
> I saw a discussion about 'cp -n A B' now exiting with 9.2 when B exists.
> That seems to have changed with v9.1-133-g7a69df889.
>
> I don't question that change, but shouldn't the tool output an error 
> diagnostic
> if it exits with an error?
>
>   $ cp -n A B; echo $?
>   1
>
> It doesn't even give a hint with -v or --debug:
>
>   $ cp -nvvv A B; echo $?
>   1
>
>   $ cp -n --debug A B; echo $?
>   1
>
> Is that okay?
>
> Have a nice day,
> Berny

See discussion at https://debbugs.gnu.org/62572

Have a lovely evening!
-- 
Arsen Arsenović

Attachment: signature.asc
Description: PGP signature


reply via email to

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