aboutsummaryrefslogtreecommitdiff
path: root/chown.c
diff options
context:
space:
mode:
Diffstat (limited to 'chown.c')
-rw-r--r--chown.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chown.c b/chown.c
index 43d62b1e0..e714b2d7a 100644
--- a/chown.c
+++ b/chown.c
@@ -85,7 +85,7 @@ int chown_main(int argc, char **argv)
85 } 85 }
86 86
87 /* Ok, ready to do the deed now */ 87 /* Ok, ready to do the deed now */
88 while (optind++ < argc-1) { 88 while (++optind < argc) {
89 if (recursive_action (argv[optind], recursiveFlag, FALSE, FALSE, 89 if (recursive_action (argv[optind], recursiveFlag, FALSE, FALSE,
90 fileAction, fileAction, NULL) == FALSE) { 90 fileAction, fileAction, NULL) == FALSE) {
91 return EXIT_FAILURE; 91 return EXIT_FAILURE;