* src/gpasswd.c: log_gpasswd_success_gshadow is in the cleanup
stack only when the shadow group file is present.
This commit is contained in:
parent
9372111aaa
commit
780af2653a
@ -1,3 +1,8 @@
|
|||||||
|
2009-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* src/gpasswd.c: log_gpasswd_success_gshadow is in the cleanup
|
||||||
|
stack only when the shadow group file is present.
|
||||||
|
|
||||||
2009-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
2009-03-15 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* NEWS, src/userdel.c: Make sure the user exists in the shadow
|
* NEWS, src/userdel.c: Make sure the user exists in the shadow
|
||||||
|
@ -696,7 +696,9 @@ static void close_files (void)
|
|||||||
log_gpasswd_success_system (NULL);
|
log_gpasswd_success_system (NULL);
|
||||||
del_cleanup (log_gpasswd_success_group);
|
del_cleanup (log_gpasswd_success_group);
|
||||||
#ifdef SHADOWGRP
|
#ifdef SHADOWGRP
|
||||||
del_cleanup (log_gpasswd_success_gshadow);
|
if (is_shadowgrp) {
|
||||||
|
del_cleanup (log_gpasswd_success_gshadow);
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user