mirror of
https://github.com/shadow-maint/shadow.git
synced 2026-01-26 14:03:17 +00:00
src/usermod.c: Rename update_group() => update_group_file()
Signed-off-by: Alejandro Colomar <alx@kernel.org>
This commit is contained in:
parent
151f14ad69
commit
b089a63ab3
@ -178,7 +178,7 @@ NORETURN static void usage (int status);
|
||||
static void new_pwent (struct passwd *);
|
||||
static void new_spent (struct spwd *);
|
||||
NORETURN static void fail_exit (int);
|
||||
static void update_group (void);
|
||||
static void update_group_file(void);
|
||||
|
||||
#ifdef SHADOWGRP
|
||||
static void update_gshadow (void);
|
||||
@ -685,7 +685,8 @@ fail_exit (int code)
|
||||
}
|
||||
|
||||
|
||||
static void update_group (void)
|
||||
static void
|
||||
update_group_file(void)
|
||||
{
|
||||
bool changed;
|
||||
const struct group *grp;
|
||||
@ -950,7 +951,7 @@ static void update_gshadow (void)
|
||||
*/
|
||||
static void grp_update (void)
|
||||
{
|
||||
update_group ();
|
||||
update_group_file();
|
||||
#ifdef SHADOWGRP
|
||||
if (is_shadow_grp) {
|
||||
update_gshadow ();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user