diff options
-rw-r--r-- | src/chown.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/chown.c b/src/chown.c index 1b8afaf28..d8f642627 100644 --- a/src/chown.c +++ b/src/chown.c @@ -34,7 +34,6 @@ #include <getopt.h> #include "system.h" -#include "dirname.h" #include "error.h" #include "lchown.h" #include "quote.h" @@ -234,11 +233,8 @@ main (int argc, char **argv) } for (; optind < argc; ++optind) - { - strip_trailing_slashes (argv[optind]); - errors |= change_file_owner (1, argv[optind], uid, gid, - old_uid, old_gid, &chopt); - } + errors |= change_file_owner (1, argv[optind], uid, gid, + old_uid, old_gid, &chopt); chopt_free (&chopt); |