diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/rmdir.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/rmdir.c b/src/rmdir.c index 86ec7c1a3..848a2c699 100644 --- a/src/rmdir.c +++ b/src/rmdir.c @@ -28,7 +28,6 @@ #include <sys/types.h> #include "system.h" -#include "dirname.h" #include "error.h" #include "quote.h" @@ -209,10 +208,6 @@ main (int argc, char **argv) int fail; char *dir = argv[optind]; - /* Stripping slashes is harmless for rmdir; - if the arg is not a directory, it will fail with ENOTDIR. */ - strip_trailing_slashes (dir); - /* Give a diagnostic for each attempted removal if --verbose. */ if (verbose) error (0, 0, _("removing directory, %s"), dir); |