aboutsummaryrefslogtreecommitdiff
path: root/coreutils/ln.c
diff options
context:
space:
mode:
Diffstat (limited to 'coreutils/ln.c')
-rw-r--r--coreutils/ln.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/ln.c b/coreutils/ln.c
index 88a9a8f91..0eb3e6579 100644
--- a/coreutils/ln.c
+++ b/coreutils/ln.c
@@ -69,8 +69,8 @@ int ln_main(int argc, char **argv)
69 src = last; 69 src = last;
70 70
71 if (is_directory(src, 71 if (is_directory(src,
72 (opts & LN_NODEREFERENCE) ^ LN_NODEREFERENCE, 72 (opts & LN_NODEREFERENCE) ^ LN_NODEREFERENCE
73 NULL) 73 )
74 ) { 74 ) {
75 src_name = xstrdup(*argv); 75 src_name = xstrdup(*argv);
76 src = concat_path_file(src, bb_get_last_path_component_strip(src_name)); 76 src = concat_path_file(src, bb_get_last_path_component_strip(src_name));