Return to chpass.c CVS log | Up to [local] / src / usr.bin / chpass |
version 1.3, 1996/06/26 05:31:54 | version 1.4, 1996/08/31 01:55:32 | ||
---|---|---|---|
|
|
||
#ifdef YP | #ifdef YP | ||
if (use_yp) { | if (use_yp) { | ||
if (pw_yp(pw, uid)) | if (pw_yp(pw, uid)) { | ||
pw_error((char *)NULL, 0, 1); | pw_error((char *)NULL, 0, 1); | ||
else | exit(1); | ||
} else | |||
exit(0); | exit(0); | ||
} | } else | ||
else | |||
#endif /* YP */ | #endif /* YP */ | ||
/* Copy the passwd file to the lock file, updating pw. */ | /* Copy the passwd file to the lock file, updating pw. */ |