projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
359f885
)
(do_link): Remove duplicate `if (lstat' block.
author
Jim Meyering
<jim@meyering.net>
Thu, 25 Apr 1996 02:34:36 +0000
(
02:34
+0000)
committer
Jim Meyering
<jim@meyering.net>
Thu, 25 Apr 1996 02:34:36 +0000
(
02:34
+0000)
src/ln.c
patch
|
blob
|
history
diff --git
a/src/ln.c
b/src/ln.c
index 5f3935ca34bf7528c710fc660494fa39abd0f08e..5822b87bd9401296948b5621a9ae28024ed564c0 100644
(file)
--- 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