aboutsummaryrefslogtreecommitdiff
path: root/chgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'chgrp.c')
-rw-r--r--chgrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chgrp.c b/chgrp.c
index 0bb1e75c9..83bb19463 100644
--- a/chgrp.c
+++ b/chgrp.c
@@ -71,7 +71,7 @@ int chgrp_main(int argc, char **argv)
71 } 71 }
72 72
73 /* Ok, ready to do the deed now */ 73 /* Ok, ready to do the deed now */
74 while (optind++ < argc) { 74 while (optind++ < argc-1) {
75 if (recursive_action (argv[optind], recursiveFlag, FALSE, FALSE, 75 if (recursive_action (argv[optind], recursiveFlag, FALSE, FALSE,
76 fileAction, fileAction, NULL) == FALSE) { 76 fileAction, fileAction, NULL) == FALSE) {
77 return EXIT_FAILURE; 77 return EXIT_FAILURE;