summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai2001-04-26 18:27:47 +0000
committerMatt Kraai2001-04-26 18:27:47 +0000
commit468f504fd79a590e632193fc0ecf999b86ae5cba (patch)
treedc8c600f648cdfad02c8556ef06a95679cfaf03f
parentc1bdffe99b6fa6fdb0f43e0dec85d8bbfcab1572 (diff)
downloadbusybox-468f504fd79a590e632193fc0ecf999b86ae5cba.zip
busybox-468f504fd79a590e632193fc0ecf999b86ae5cba.tar.gz
Fix handling of -R flag.
-rw-r--r--chgrp.c1
-rw-r--r--chmod.c1
-rw-r--r--chown.c1
-rw-r--r--coreutils/chgrp.c1
-rw-r--r--coreutils/chmod.c1
-rw-r--r--coreutils/chown.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/chgrp.c b/chgrp.c
index 55e22f5..ec1a037 100644
--- a/chgrp.c
+++ b/chgrp.c
@@ -56,6 +56,7 @@ int chgrp_main(int argc, char **argv)
switch (opt) {
case 'R':
recursiveFlag = TRUE;
+ break;
default:
show_usage();
}
diff --git a/chmod.c b/chmod.c
index b1d7512..93b7f78 100644
--- a/chmod.c
+++ b/chmod.c
@@ -51,6 +51,7 @@ int chmod_main(int argc, char **argv)
switch (opt) {
case 'R':
recursiveFlag = TRUE;
+ break;
default:
show_usage();
}
diff --git a/chown.c b/chown.c
index e714b2d..9ff2872 100644
--- a/chown.c
+++ b/chown.c
@@ -57,6 +57,7 @@ int chown_main(int argc, char **argv)
switch (opt) {
case 'R':
recursiveFlag = TRUE;
+ break;
default:
show_usage();
}
diff --git a/coreutils/chgrp.c b/coreutils/chgrp.c
index 55e22f5..ec1a037 100644
--- a/coreutils/chgrp.c
+++ b/coreutils/chgrp.c
@@ -56,6 +56,7 @@ int chgrp_main(int argc, char **argv)
switch (opt) {
case 'R':
recursiveFlag = TRUE;
+ break;
default:
show_usage();
}
diff --git a/coreutils/chmod.c b/coreutils/chmod.c
index b1d7512..93b7f78 100644
--- a/coreutils/chmod.c
+++ b/coreutils/chmod.c
@@ -51,6 +51,7 @@ int chmod_main(int argc, char **argv)
switch (opt) {
case 'R':
recursiveFlag = TRUE;
+ break;
default:
show_usage();
}
diff --git a/coreutils/chown.c b/coreutils/chown.c
index e714b2d..9ff2872 100644
--- a/coreutils/chown.c
+++ b/coreutils/chown.c
@@ -57,6 +57,7 @@ int chown_main(int argc, char **argv)
switch (opt) {
case 'R':
recursiveFlag = TRUE;
+ break;
default:
show_usage();
}