summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/copy.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/copy.c b/src/copy.c
index c8a3d92ca..726ed8bd3 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -428,9 +428,8 @@ copy_internal (const char *src_path, const char *dst_path,
&& ! x->force
/* Allow them to be the same (and don't set `same') if
- we're in move mode and they're both symlinks. */
+ we're in move mode and the target is a symlink. */
&& !(move_mode
- && S_ISLNK (src_sb.st_mode)
&& S_ISLNK (dst_sb.st_mode))
/* If we're making a backup, we'll detect the problem case in