chmod: typo in comments
This commit is contained in:
parent
94cf69fe3e
commit
8c0c119130
@ -87,7 +87,7 @@ int chmod_main(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Paerse options */
|
/* Parse options */
|
||||||
opt_complementary = "-2";
|
opt_complementary = "-2";
|
||||||
getopt32(argc, argv, ("-"OPT_STR) + 1); /* Reuse string */
|
getopt32(argc, argv, ("-"OPT_STR) + 1); /* Reuse string */
|
||||||
argv += optind;
|
argv += optind;
|
||||||
@ -99,13 +99,13 @@ int chmod_main(int argc, char **argv)
|
|||||||
smode = *argv++;
|
smode = *argv++;
|
||||||
do {
|
do {
|
||||||
if (!recursive_action(*argv,
|
if (!recursive_action(*argv,
|
||||||
OPT_RECURSE, // recurse
|
OPT_RECURSE, // recurse
|
||||||
FALSE, // follow links: GNU doesn't
|
FALSE, // follow links: coreutils doesn't
|
||||||
FALSE, // depth first
|
FALSE, // depth first
|
||||||
fileAction, // file action
|
fileAction, // file action
|
||||||
fileAction, // dir action
|
fileAction, // dir action
|
||||||
smode, // user data
|
smode, // user data
|
||||||
0) // depth
|
0) // depth
|
||||||
) {
|
) {
|
||||||
retval = EXIT_FAILURE;
|
retval = EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user