Fix handling of -R flag.
This commit is contained in:
parent
c1bdffe99b
commit
468f504fd7
1
chgrp.c
1
chgrp.c
@ -56,6 +56,7 @@ int chgrp_main(int argc, char **argv)
|
||||
switch (opt) {
|
||||
case 'R':
|
||||
recursiveFlag = TRUE;
|
||||
break;
|
||||
default:
|
||||
show_usage();
|
||||
}
|
||||
|
1
chmod.c
1
chmod.c
@ -51,6 +51,7 @@ int chmod_main(int argc, char **argv)
|
||||
switch (opt) {
|
||||
case 'R':
|
||||
recursiveFlag = TRUE;
|
||||
break;
|
||||
default:
|
||||
show_usage();
|
||||
}
|
||||
|
1
chown.c
1
chown.c
@ -57,6 +57,7 @@ int chown_main(int argc, char **argv)
|
||||
switch (opt) {
|
||||
case 'R':
|
||||
recursiveFlag = TRUE;
|
||||
break;
|
||||
default:
|
||||
show_usage();
|
||||
}
|
||||
|
@ -56,6 +56,7 @@ int chgrp_main(int argc, char **argv)
|
||||
switch (opt) {
|
||||
case 'R':
|
||||
recursiveFlag = TRUE;
|
||||
break;
|
||||
default:
|
||||
show_usage();
|
||||
}
|
||||
|
@ -51,6 +51,7 @@ int chmod_main(int argc, char **argv)
|
||||
switch (opt) {
|
||||
case 'R':
|
||||
recursiveFlag = TRUE;
|
||||
break;
|
||||
default:
|
||||
show_usage();
|
||||
}
|
||||
|
@ -57,6 +57,7 @@ int chown_main(int argc, char **argv)
|
||||
switch (opt) {
|
||||
case 'R':
|
||||
recursiveFlag = TRUE;
|
||||
break;
|
||||
default:
|
||||
show_usage();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user