Add missing endpwent() and endgrent() calls to nfsuserd(8).
PR: 230937 Submitted by: Peter Eriksson <peter@ifm.liu.se> Reviewed by: rmacklem Approved by: re (gjb) MFC after: 1 week
This commit is contained in:
parent
303233568f
commit
670c1e4b1c
@ -334,6 +334,7 @@ main(int argc, char *argv[])
|
||||
#endif
|
||||
i++;
|
||||
}
|
||||
endgrent();
|
||||
|
||||
/*
|
||||
* Loop around adding all users.
|
||||
@ -382,6 +383,7 @@ main(int argc, char *argv[])
|
||||
#endif
|
||||
i++;
|
||||
}
|
||||
endpwent();
|
||||
|
||||
/*
|
||||
* I should feel guilty for not calling this for all the above exit()
|
||||
|
Loading…
Reference in New Issue
Block a user