summaryrefslogtreecommitdiffstats
path: root/src/tools
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-06-03 18:46:29 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-06-09 08:29:48 -0400
commit1bdeea694e860f69fa86457b0c969bba1ac74b73 (patch)
treef876d0f14b47579e6bf407172e77150c36702c5d /src/tools
parent599727a5f9a8a3064a309c83b069201e8e34e8be (diff)
downloadsssd_unused-1bdeea694e860f69fa86457b0c969bba1ac74b73.tar.gz
sssd_unused-1bdeea694e860f69fa86457b0c969bba1ac74b73.tar.xz
sssd_unused-1bdeea694e860f69fa86457b0c969bba1ac74b73.zip
Add missing break to switch statement
Switch statement missing a break causes unintended implicit setting of 'm' options in sss_useradd. Fixes: #512
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/sss_useradd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/sss_useradd.c b/src/tools/sss_useradd.c
index 6c6b5851..a08024c6 100644
--- a/src/tools/sss_useradd.c
+++ b/src/tools/sss_useradd.c
@@ -149,6 +149,7 @@ int main(int argc, const char **argv)
case 'G':
groups = poptGetOptArg(pc);
if (!groups) goto fini;
+ break;
case 'm':
pc_create_home = DO_CREATE_HOME;