bug-coreutils
[Top][All Lists]
Advanced

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

bug#6516: [patch] improving error messages for when 'ln' fails


From: Benno Schulenberg
Subject: bug#6516: [patch] improving error messages for when 'ln' fails
Date: Sat, 26 Jun 2010 12:21:08 +0200

Hi,

Trying to make a link that already exists, 'ln' prints a message that
is slightly confusing, especially when using '-v' and thus expexting
a progress message.  For example:

$ ln -sv bash /bin/sh
ln: creating symbolic link '/bin/sh': File exists

The 'creating..." seems to say that the link is being created.
The message would be clearer in the following form:

ln: cannot create symbolic link '/bin/sh': File exists

Attached patch makes this change.

Regards,

Benno

-- 
http://www.fastmail.fm - Faster than the air-speed velocity of an
                          unladen european swallow

Attachment: 0001-ln-print-a-clearer-error-message-when-linking-fails.patch
Description: Text Data


reply via email to

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