summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/install.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/install.c b/src/install.c
index 3eb386d7f..0b8a7f46b 100644
--- a/src/install.c
+++ b/src/install.c
@@ -189,7 +189,8 @@ cp_option_init (struct cp_options *x)
{
x->copy_as_regular = 1;
x->dereference = DEREF_ALWAYS;
- x->force = 1;
+ x->unlink_dest_before_opening = 0;
+ x->unlink_dest_after_failed_open = 1;
/* If unlink fails, try to proceed anyway. */
x->failed_unlink_is_fatal = 0;