* src/groupmems.c: Remove duplicated gr_open().

This commit is contained in:
nekral-guest 2008-08-31 17:41:03 +00:00
parent 118303b9da
commit abddd42aa0
2 changed files with 4 additions and 5 deletions

View File

@ -1,3 +1,7 @@
2008-08-31 Nicolas François <nicolas.francois@centraliens.net>
* src/groupmems.c: Remove duplicated gr_open().
2008-08-30 Nicolas François <nicolas.francois@centraliens.net>
* man/useradd.8.xml: Document the /etc/default/useradd variables.

View File

@ -605,11 +605,6 @@ int main (int argc, char **argv)
gr_locked = true;
}
if (gr_open (list ? O_RDONLY : O_RDWR) == 0) {
fprintf (stderr, _("%s: cannot open %s\n"), Prog, gr_dbname ());
fail_exit (EXIT_GROUP_FILE);
}
grp = gr_locate (name);
if (NULL == grp) {