Fix handling of -R flag.
authorMatt Kraai <kraai@debian.org>
Thu, 26 Apr 2001 18:27:47 +0000 (18:27 -0000)
committerMatt Kraai <kraai@debian.org>
Thu, 26 Apr 2001 18:27:47 +0000 (18:27 -0000)
chgrp.c
chmod.c
chown.c
coreutils/chgrp.c
coreutils/chmod.c
coreutils/chown.c

diff --git a/chgrp.c b/chgrp.c
index 55e22f528f69e28dbdd98995b0888c72ccb76c77..ec1a0370c856a27d988fd0a3ef5c51416483888c 100644 (file)
--- 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 b1d75129b3564cb35390ea965e9cd1f103b4aaf4..93b7f78cdb6d81fe868f767070f183f6c0daf8d9 100644 (file)
--- 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 e714b2d7a0aac851bf256360ea4ce54a927a906f..9ff287251cc56b7207c29c901e68b889a240bb51 100644 (file)
--- 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();
                }
index 55e22f528f69e28dbdd98995b0888c72ccb76c77..ec1a0370c856a27d988fd0a3ef5c51416483888c 100644 (file)
@@ -56,6 +56,7 @@ int chgrp_main(int argc, char **argv)
                switch (opt) {
                        case 'R':
                                recursiveFlag = TRUE;
+                               break;
                        default:
                                show_usage();
                }
index b1d75129b3564cb35390ea965e9cd1f103b4aaf4..93b7f78cdb6d81fe868f767070f183f6c0daf8d9 100644 (file)
@@ -51,6 +51,7 @@ int chmod_main(int argc, char **argv)
                switch (opt) {
                        case 'R':
                                recursiveFlag = TRUE;
+                               break;
                        default:
                                show_usage();
                }
index e714b2d7a0aac851bf256360ea4ce54a927a906f..9ff287251cc56b7207c29c901e68b889a240bb51 100644 (file)
@@ -57,6 +57,7 @@ int chown_main(int argc, char **argv)
                switch (opt) {
                        case 'R':
                                recursiveFlag = TRUE;
+                               break;
                        default:
                                show_usage();
                }