From 3c6bb6c79c121b054b111a01096c6ee97054f74b Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 6 Aug 2004 23:42:52 +0000 Subject: [PATCH] Consistency. Use same error for bad -u #uid when targetpw is set as we do when a bad -u username is specified. --- sudo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sudo.c b/sudo.c index 7c22afcc5..90ddfd31a 100644 --- a/sudo.c +++ b/sudo.c @@ -1074,7 +1074,7 @@ get_authpw() def_runas_default); } else if (def_targetpw) { if (runas_pw->pw_name == NULL) - log_error(0, "user %lu does not exist in the passwd file!", + log_error(NO_MAIL|MSG_ONLY, "no passwd entry for %lu!", runas_pw->pw_uid); pw = runas_pw; } else -- 2.50.1