diff options
-rw-r--r-- | libutil/pw_util.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libutil/pw_util.c b/libutil/pw_util.c index 8dd4e4c..60b4f77 100644 --- a/libutil/pw_util.c +++ b/libutil/pw_util.c @@ -211,9 +211,16 @@ pw_error(name, err, eval) char *name; int err, eval; { +#ifdef YP + extern int _use_yp; +#endif /* YP */ if (err) warn(name); - +#ifdef YP + if (_use_yp) + warnx("NIS information unchanged"); + else +#endif /* YP */ warnx("%s: unchanged", _PATH_MASTERPASSWD); (void)unlink(tempname); exit(eval); |