Differentiate failure to update a group entry and failure to update a shadow group entry.
This commit is contained in:
parent
9afe59af3e
commit
326074388c
@ -1,3 +1,8 @@
|
|||||||
|
2007-11-17 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* src/userdel.c: Differentiate failure to update a group entry and
|
||||||
|
failure to update a shadow group entry.
|
||||||
|
|
||||||
2007-11-17 Nicolas François <nicolas.francois@centraliens.net>
|
2007-11-17 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* src/userdel.c, src/usermod.c, src/useradd.c: Inform the user if
|
* src/userdel.c, src/usermod.c, src/useradd.c: Inform the user if
|
||||||
|
@ -262,7 +262,7 @@ static void update_groups (void)
|
|||||||
|
|
||||||
if (!sgr_update (nsgrp)) {
|
if (!sgr_update (nsgrp)) {
|
||||||
fprintf (stderr,
|
fprintf (stderr,
|
||||||
_("%s: error updating group entry\n"), Prog);
|
_("%s: error updating shadow group entry\n"), Prog);
|
||||||
exit (E_GRP_UPDATE);
|
exit (E_GRP_UPDATE);
|
||||||
}
|
}
|
||||||
#ifdef WITH_AUDIT
|
#ifdef WITH_AUDIT
|
||||||
|
Loading…
Reference in New Issue
Block a user