diff options
-rw-r--r-- | coreutils/ln.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/coreutils/ln.c b/coreutils/ln.c index 0640c6666..7c282b001 100644 --- a/coreutils/ln.c +++ b/coreutils/ln.c | |||
@@ -73,8 +73,7 @@ extern int ln_main(int argc, char **argv) | |||
73 | free(src_name); | 73 | free(src_name); |
74 | src_name = src; | 74 | src_name = src; |
75 | } | 75 | } |
76 | 76 | if (!(flag & LN_SYMLINK) && stat(*argv, &statbuf)) { | |
77 | if (stat(*argv, &statbuf)) { | ||
78 | bb_perror_msg(*argv); | 77 | bb_perror_msg(*argv); |
79 | status = EXIT_FAILURE; | 78 | status = EXIT_FAILURE; |
80 | free(src_name); | 79 | free(src_name); |
@@ -101,13 +100,3 @@ extern int ln_main(int argc, char **argv) | |||
101 | 100 | ||
102 | return status; | 101 | return status; |
103 | } | 102 | } |
104 | |||
105 | |||
106 | |||
107 | |||
108 | |||
109 | |||
110 | |||
111 | |||
112 | |||
113 | |||