(do_move): Give one diagnostic, not two, when unable to
authorJim Meyering <jim@meyering.net>
Wed, 12 Jun 2002 08:01:48 +0000 (08:01 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 12 Jun 2002 08:01:48 +0000 (08:01 +0000)
commitf849e0aaac8bbb08a9afdfa5fc8272e7835040f5
tree3fa66b731680f22bcaa679e594e8dafc34a8b32d
parent7e6aff288f5e7453292caa93c66a11852fadb683
(do_move): Give one diagnostic, not two, when unable to
unlink a destination file.  This bug was introduced in fileutils-3.16l.

$ /bin/mv /etc/passwd /tmp
/bin/mv: cannot unlink `/etc/passwd': Permission denied
/bin/mv: cannot remove `/etc/passwd': Permission denied
[Exit 1]
src/mv.c