summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/cp.c b/src/cp.c
index 04121c8be..4fec1b033 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -599,7 +599,6 @@ do_copy (int n_files, char **file, const char *target_directory,
{
int copy_into_self;
ret |= copy (arg, dst_path, new_dst, x, &copy_into_self, NULL);
- forget_all ();
if (flag_path)
{