Fixed segfault when you type "chmod -R". "chown -R" and "chgrp -R" are still

having problems...
This commit is contained in:
Mark Whitley 2000-06-06 17:40:32 +00:00
parent 680d65a646
commit 6ca28ba65c

View File

@ -118,7 +118,7 @@ int chmod_chown_chgrp_main(int argc, char **argv)
argv++;
/* Parse options */
while (**argv == '-') {
while (argc && (**argv == '-')) {
while (*++(*argv))
switch (**argv) {
case 'R':