From f59d1dac4668e4acd35f638c357c92cff38fd39b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 25 Apr 1996 02:34:36 +0000 Subject: (do_link): Remove duplicate `if (lstat' block. --- src/ln.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/ln.c b/src/ln.c index 5f3935ca3..5822b87bd 100644 --- a/src/ln.c +++ b/src/ln.c @@ -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 -- cgit v1.2.3-70-g09d2