summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cp.c b/src/cp.c
index 00bc61afa..d8e33f523 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -944,6 +944,7 @@ main (int argc, char **argv)
case 'r':
x.recursive = 1;
x.copy_as_regular = 1;
+ x.dereference = DEREF_ALWAYS;
break;
case 'R':