summaryrefslogtreecommitdiff
path: root/usr.bin/sudo/vasgroups.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2010-06-02 19:30:11 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2010-06-02 19:30:11 +0000
commitfb135151e4144723c9cc22cd966ad48d381e8192 (patch)
tree4507da7457ea4d47fd0e2800f587fc2189189301 /usr.bin/sudo/vasgroups.c
parent3c6ca140406ff1e9c8d2cad836bdd5ceeff3ec94 (diff)
Update to sudo 1.7.2p7
Diffstat (limited to 'usr.bin/sudo/vasgroups.c')
-rw-r--r--usr.bin/sudo/vasgroups.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/sudo/vasgroups.c b/usr.bin/sudo/vasgroups.c
index 33a333d7728..906a66904e0 100644
--- a/usr.bin/sudo/vasgroups.c
+++ b/usr.bin/sudo/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,