diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/install.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/install.c b/src/install.c index 0b8a7f46b..f7ee15e6c 100644 --- a/src/install.c +++ b/src/install.c @@ -189,8 +189,8 @@ cp_option_init (struct cp_options *x) { x->copy_as_regular = 1; x->dereference = DEREF_ALWAYS; - x->unlink_dest_before_opening = 0; - x->unlink_dest_after_failed_open = 1; + x->unlink_dest_before_opening = 1; + x->unlink_dest_after_failed_open = 0; /* If unlink fails, try to proceed anyway. */ x->failed_unlink_is_fatal = 0; |