From 2691d42a1312f0145e5e3d38104cbb966fd5cf31 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Wed, 2 Jun 2010 10:25:40 -0400 Subject: [PATCH] Sync with Quest sudo git repo --HG-- branch : 1.7 --- vasgroups.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/vasgroups.c b/vasgroups.c index 33a333d77..906a66904 100644 --- a/vasgroups.c +++ b/vasgroups.c @@ -43,8 +43,8 @@ #include "compat.h" #include "logging.h" #include "nonunix.h" -#include "parse.h" #include "sudo.h" +#include "parse.h" /* Pseudo-boolean types */ @@ -153,8 +153,8 @@ sudo_nonunix_groupcheck( const char* group, const char* user, const struct passw FINISHED: /* cleanups */ - if (vaserr != VAS_ERR_SUCCESS) { - int error_flags = NO_MAIL | MSG_ONLY | (uses_inversion ? 0 : NO_EXIT); + if (vaserr != VAS_ERR_SUCCESS && vaserr != VAS_ERR_NOT_FOUND ) { + int error_flags = NO_MAIL | MSG_ONLY | NO_EXIT; log_error(error_flags, "Error while checking group membership " "for user \"%s\", group \"%s\", error: %s%s.", user, group, -- 2.40.0