summaryrefslogtreecommitdiff
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:35 -0400
commit54250550d11f8214d3b941e602cd2b553a56fcdd (patch)
treedfa38725926f006fba7d253bc0e4513a94164163 /src/tools
parenta6dbe52dc824f8338d209ef5c56f9e345aeeb2fe (diff)
downloadsssd-54250550d11f8214d3b941e602cd2b553a56fcdd.tar.gz
sssd-54250550d11f8214d3b941e602cd2b553a56fcdd.tar.bz2
sssd-54250550d11f8214d3b941e602cd2b553a56fcdd.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 31932154..510c0f5b 100644
--- a/src/tools/sss_useradd.c
+++ b/src/tools/sss_useradd.c
@@ -126,6 +126,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;