summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/copy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/copy.c b/src/copy.c
index c8c7a50b8..b96b7ba47 100644
--- a/src/copy.c
+++ b/src/copy.c
@@ -504,8 +504,8 @@ same_file_ok (const char *src_path, const struct stat *src_sb,
}
/* It's ok to remove a destination symlink. But that works only when we
- unlink before opening the destination and when they're on the same
- partition. */
+ unlink before opening the destination and when the source and destination
+ files are on the same partition. */
if (x->unlink_dest_before_opening
&& S_ISLNK (dst_sb_link->st_mode))
return dst_sb_link->st_dev == src_sb_link->st_dev;