diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rm.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |