(do_link): With --force, don't remove DEST when it's
commitf3194fe6037dd25f454dab9104815a2112c7aae9
authorJim Meyering <jim@meyering.net>
Thu, 25 Apr 1996 02:47:07 +0000 (25 02:47 +0000)
committerJim Meyering <jim@meyering.net>
Thu, 25 Apr 1996 02:47:07 +0000 (25 02:47 +0000)
tree87d34d79c4d6cd348e0c0df7e0a951bfb3d0ee32
parentf59d1dac4668e4acd35f638c357c92cff38fd39b
(do_link): With --force, don't remove DEST when it's
the same as SOURCE.  Before, `ln -f FILE FILE' would remove FILE.
Reported by Bruno Haible.
src/ln.c