* src/useradd.c: Remove unused Zflg.

This commit is contained in:
nekral-guest 2011-07-30 01:47:52 +00:00
parent f8d47df43b
commit 905e14ee83
2 changed files with 5 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2011-07-30 Nicolas François <nicolas.francois@centraliens.net>
* src/useradd.c: Remove unused Zflg.
2011-07-30 Nicolas François <nicolas.francois@centraliens.net>
* src/chgpasswd.c: Fix typo sp -> sg. sg_namp -> sg_name

View File

@ -148,8 +148,7 @@ static bool
rflg = false, /* create a system account */
sflg = false, /* shell program for new account */
uflg = false, /* specify user ID for new account */
Uflg = false, /* create a group having the same name as the user */
Zflg = false; /* new selinux user */
Uflg = false; /* create a group having the same name as the user */
static bool home_added = false;
@ -1201,7 +1200,6 @@ static void process_flags (int argc, char **argv)
case 'Z':
if (is_selinux_enabled () > 0) {
user_selinux = optarg;
Zflg = true;
} else {
fprintf (stderr,
_("%s: -Z requires SELinux enabled kernel\n"),