summaryrefslogtreecommitdiff
path: root/src/install.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-09-03 18:50:49 +0000
committerJim Meyering <jim@meyering.net>2000-09-03 18:50:49 +0000
commit799114aa8c06b5b94d3c86f287d0001aa6424f67 (patch)
tree090ff552b810a2b9bed842a8159d099308607a16 /src/install.c
parent8ed20d830e0ecce7f3e272932b921d21c7b64021 (diff)
downloadcoreutils-799114aa8c06b5b94d3c86f287d0001aa6424f67.tar.xz
(cp_option_init): Initialize new members.
Diffstat (limited to 'src/install.c')
-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;