* src/usermod.c (update_gshadow): is_member was computed twice.
This commit is contained in:
parent
2798e35d86
commit
8195a2b5d8
@ -12,6 +12,7 @@
|
|||||||
* src/usermod.c (process_flags): Check for oflg is not needed to
|
* src/usermod.c (process_flags): Check for oflg is not needed to
|
||||||
check if changes are needed.
|
check if changes are needed.
|
||||||
* src/usermod.c: usage() does not return. Add annotations.
|
* src/usermod.c: usage() does not return. Add annotations.
|
||||||
|
* src/usermod.c (update_gshadow): is_member was computed twice.
|
||||||
|
|
||||||
2011-07-08 Nicolas François <nicolas.francois@centraliens.net>
|
2011-07-08 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
@ -699,7 +699,6 @@ static void update_gshadow (void)
|
|||||||
* See if the user specified this group as one of their
|
* See if the user specified this group as one of their
|
||||||
* concurrent groups.
|
* concurrent groups.
|
||||||
*/
|
*/
|
||||||
is_member = Gflg && is_on_list (user_groups, sgrp->sg_name);
|
|
||||||
is_member = Gflg && ( (was_member && aflg)
|
is_member = Gflg && ( (was_member && aflg)
|
||||||
|| is_on_list (user_groups, sgrp->sg_name));
|
|| is_on_list (user_groups, sgrp->sg_name));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user