* src/usermod.c (process_flags): Check for oflg is not needed to

check if changes are needed.
This commit is contained in:
nekral-guest 2011-07-14 13:29:16 +00:00
parent a5ded26850
commit d1753cc25d
2 changed files with 3 additions and 1 deletions

View File

@ -9,6 +9,8 @@
* src/usermod.c (process_flags): Check option compatibility and * src/usermod.c (process_flags): Check option compatibility and
dependency before options are discarded when no changes are dependency before options are discarded when no changes are
requested. requested.
* src/usermod.c (process_flags): Check for oflg is not needed to
check if changes are needed.
2011-07-08 Nicolas François <nicolas.francois@centraliens.net> 2011-07-08 Nicolas François <nicolas.francois@centraliens.net>

View File

@ -1116,7 +1116,7 @@ static void process_flags (int argc, char **argv)
cflg = false; cflg = false;
} }
if (!(Uflg || uflg || sflg || pflg || oflg || mflg || Lflg || if (!(Uflg || uflg || sflg || pflg || mflg || Lflg ||
lflg || Gflg || gflg || fflg || eflg || dflg || cflg lflg || Gflg || gflg || fflg || eflg || dflg || cflg
#ifdef WITH_SELINUX #ifdef WITH_SELINUX
|| Zflg || Zflg