summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2004-05-29 22:07:03 +0000
committerJim Meyering <jim@meyering.net>2004-05-29 22:07:03 +0000
commite6a2492833afc4ee5efd7831acc83ebc18175dbb (patch)
tree247870b78cde8908c5e3134ade183d5956a5bb6c /src
parent56d5c6f7cadcd5f0088d8b563434948d0b2a898c (diff)
downloadcoreutils-e6a2492833afc4ee5efd7831acc83ebc18175dbb.tar.xz
(rm_option_init): Initialize new member,
Diffstat (limited to 'src')
-rw-r--r--src/rm.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/rm.c b/src/rm.c
index 0b82f73fe..e7db1cc24 100644
--- a/src/rm.c
+++ b/src/rm.c
@@ -152,6 +152,10 @@ rm_option_init (struct rm_options *x)
x->root_dev_ino = NULL;
x->stdin_tty = isatty (STDIN_FILENO);
x->verbose = 0;
+
+ /* Since this program exits immediately after calling `rm', rm need not
+ expend unnecessary effort to preserve the initial working directory. */
+ x->require_restore_cwd = false;
}
int