Fixed some wrong permissions, fixed FreeBSD mbpasswd

This commit is contained in:
Michiel Broek
2002-02-04 10:47:44 +00:00
parent ca70e6659e
commit 65b93420c5
2 changed files with 2 additions and 1 deletions

View File

@@ -272,7 +272,6 @@ void pw_copy(int ffd, int tfd, struct passwd *pw)
goto err;
continue;
}
*p = '\0';
if (!(p = strchr(buf, ':'))) {
syslog(LOG_WARNING, "%s: corrupted entry", _PATH_MASTERPASSWD);
pw_error(NULL, 0, 1);