diff options
Diffstat (limited to 'chown.c')
-rw-r--r-- | chown.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { | 88 | while (optind++ < argc-1) { |
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; |