Differentiate failure to update a group entry and failure to update a shadow group entry.

This commit is contained in:
nekral-guest 2007-11-17 11:31:06 +00:00
parent 9afe59af3e
commit 326074388c
2 changed files with 6 additions and 1 deletions

View File

@ -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>
* src/userdel.c, src/usermod.c, src/useradd.c: Inform the user if

View File

@ -262,7 +262,7 @@ static void update_groups (void)
if (!sgr_update (nsgrp)) {
fprintf (stderr,
_("%s: error updating group entry\n"), Prog);
_("%s: error updating shadow group entry\n"), Prog);
exit (E_GRP_UPDATE);
}
#ifdef WITH_AUDIT