From: Matt Kraai Date: Thu, 26 Apr 2001 18:27:47 +0000 (-0000) Subject: Fix handling of -R flag. X-Git-Tag: 0_52~287 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=468f504fd79a590e632193fc0ecf999b86ae5cba;p=oweals%2Fbusybox.git Fix handling of -R flag. --- diff --git a/chgrp.c b/chgrp.c index 55e22f528..ec1a0370c 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 b1d75129b..93b7f78cd 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 e714b2d7a..9ff287251 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 55e22f528..ec1a0370c 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 b1d75129b..93b7f78cd 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 e714b2d7a..9ff287251 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(); }