commit | 30592a54514ca52253ed5f2eff64684e32d7ff05 | [log] [tgz] |
---|---|---|
author | Eric Andersen <andersen@codepoet.org> | Thu Apr 26 14:56:45 2001 +0000 |
committer | Eric Andersen <andersen@codepoet.org> | Thu Apr 26 14:56:45 2001 +0000 |
tree | 48eddf51ff5182396709bbd0f28aca99dd3e58a5 | |
parent | e55987896a716e483d3a292da4e105ee0280ed45 [diff] [blame] |
Fix a silly off-by-one error noticed by Santiago Garcia Mantinan <manty@debian.org> -Erik
diff --git a/chmod.c b/chmod.c index 5e12e76..f22e5d0 100644 --- a/chmod.c +++ b/chmod.c
@@ -66,7 +66,7 @@ } /* 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;