]> granicus.if.org Git - sudo/commitdiff
Sync with Quest sudo git repo
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 2 Jun 2010 14:25:40 +0000 (10:25 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 2 Jun 2010 14:25:40 +0000 (10:25 -0400)
--HG--
branch : 1.7

vasgroups.c

index 33a333d77285d508fc33c7d78643dec51fce252e..906a66904e0a31fbfc6bf301ead91543e26d1625 100644 (file)
@@ -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,