diff options
Diffstat (limited to 'chgrp.c')
-rw-r--r-- | chgrp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |