* src/groupmems.c: Remove duplicated gr_open().
This commit is contained in:
parent
118303b9da
commit
abddd42aa0
@ -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.
|
||||
|
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user