* src/usermod.c (update_gshadow): is_member was computed twice.
This commit is contained in:
1 parent
2798e35d86
commit
8195a2b5d8
2 files changed
+1
-1
No files matched your search
@@ -699,7 +699,6 @@ static void update_gshadow (void)
|
||||
* See if the user specified this group as one of their
|
||||
* concurrent groups.
|
||||
*/
|
||||
is_member = Gflg && is_on_list (user_groups, sgrp->sg_name);
|
||||
is_member = Gflg && ( (was_member && aflg)
|
||||
|| is_on_list (user_groups, sgrp->sg_name));
|
||||
|
||||
|
||||
Reference in new issue
Block a user