diff options
Diffstat (limited to 'src/remove.c')
-rw-r--r-- | src/remove.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/remove.c b/src/remove.c index 69faae6de..847a5cc4a 100644 --- a/src/remove.c +++ b/src/remove.c @@ -433,9 +433,6 @@ rm_fts (FTS *fts, FTSENT *ent, struct rm_options const *x) /* Perform checks that can apply only for command-line arguments. */ if (ent->fts_level == FTS_ROOTLEVEL) { - if (strip_trailing_slashes (ent->fts_path)) - ent->fts_pathlen = strlen (ent->fts_path); - /* If the basename of a command line argument is "." or "..", diagnose it and do nothing more with that argument. */ if (dot_or_dotdot (last_component (ent->fts_accpath))) |