diff options
author | Jim Meyering <jim@meyering.net> | 1996-04-25 02:34:36 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-04-25 02:34:36 +0000 |
commit | f59d1dac4668e4acd35f638c357c92cff38fd39b (patch) | |
tree | 5e6b5d53be0c2e74210343bb010dd2f5b7394ce9 | |
parent | 359f885aae97a2026c62cf2da62edde0b6e64a49 (diff) | |
download | coreutils-f59d1dac4668e4acd35f638c357c92cff38fd39b.tar.xz |
(do_link): Remove duplicate `if (lstat' block.
-rw-r--r-- | src/ln.c | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -151,12 +151,6 @@ do_link (char *source, char *dest) } } - if (lstat (dest, &dest_stats) != 0 && errno != ENOENT) - { - error (0, errno, "%s", dest); - return 1; - } - /* If the destination is a directory or (it is a symlink to a directory and the user has not specified --no-dereference), then form the actual destination name by appending basename (source) to the |