Fix a silly off-by-one error noticed by Santiago Garcia Mantinan <manty@debian.org>
-Erik
This commit is contained in:
@@ -71,7 +71,7 @@ int chgrp_main(int argc, char **argv)
|
||||
}
|
||||
|
||||
/* Ok, ready to do the deed now */
|
||||
while (optind++ < argc) {
|
||||
while (optind++ < argc-1) {
|
||||
if (recursive_action (argv[optind], recursiveFlag, FALSE, FALSE,
|
||||
fileAction, fileAction, NULL) == FALSE) {
|
||||
return EXIT_FAILURE;
|
||||
|
Reference in New Issue
Block a user