-2007-12-27 Nicolas François <nicolas.francois@centraliens.net>
+2007-12-28 Nicolas François <nicolas.francois@centraliens.net>
+
+ * src/groupadd.c (find_new_gid): A group with the specified name
+ cannot exist at that time. Remove the check.
+
+2007-12-28 Nicolas François <nicolas.francois@centraliens.net>
src/groupadd.c cleanup
* src/groupadd.c (fail_exit): When compiled without AUDIT support, if
*/
setgrent ();
while ((grp = getgrent ())) {
- if (strcmp (group_name, grp->gr_name) == 0) {
- if (fflg) {
- fail_exit (E_SUCCESS);
- }
- fprintf (stderr, _("%s: name %s is not unique\n"),
- Prog, group_name);
- fail_exit (E_NAME_IN_USE);
- }
if (gflg && (group_id == grp->gr_gid)) {
if (fflg) {
/* turn off -g and search again */