Call `endspent' to try to close the shadow password file.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@820 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1996-09-30 17:56:38 +00:00
parent f4d6b72bfa
commit 213fea4c76
2 changed files with 2 additions and 0 deletions

View File

@@ -22,6 +22,7 @@ k_getpwnam (char *user)
spwd = getspnam (user);
if (spwd)
p->pw_passwd = spwd->sp_pwdp;
endspent ();
}
#endif
return p;