(do_link): Remove duplicate `if (lstat' block.

This commit is contained in:
Jim Meyering
1996-04-25 02:34:36 +00:00
parent 359f885aae
commit f59d1dac46
-6
View File
@@ -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