=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sudo/Attic/vasgroups.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/sudo/Attic/vasgroups.c 2010/06/02 19:30:10 1.2 --- src/usr.bin/sudo/Attic/vasgroups.c 2010/07/08 21:11:31 1.3 *************** *** 111,117 **** if (!sudo_vas_available) { if (error_cause_shown == FALSE) { /* Produce the saved error reason */ ! log_error(NO_MAIL|NO_EXIT, "Non-unix group checking unavailable: %s", err_msg ? err_msg : "(unknown cause)"); error_cause_shown = TRUE; --- 111,117 ---- if (!sudo_vas_available) { if (error_cause_shown == FALSE) { /* Produce the saved error reason */ ! warningx("Non-unix group checking unavailable: %s", err_msg ? err_msg : "(unknown cause)"); error_cause_shown = TRUE; *************** *** 154,162 **** FINISHED: /* cleanups */ 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, v_err_get_string(sudo_vas_ctx, 1), /* A helpful hint if there seems to be a non-FQDN as the domain */ --- 154,160 ---- FINISHED: /* cleanups */ if (vaserr != VAS_ERR_SUCCESS && vaserr != VAS_ERR_NOT_FOUND ) { ! warningx("Error while checking group membership " "for user \"%s\", group \"%s\", error: %s%s.", user, group, v_err_get_string(sudo_vas_ctx, 1), /* A helpful hint if there seems to be a non-FQDN as the domain */ *************** *** 281,287 **** if (libvas_handle) { if (dlclose(libvas_handle) != 0) ! log_error(NO_MAIL|NO_EXIT, "dlclose() failed: %s", dlerror()); libvas_handle = NULL; } } --- 279,285 ---- if (libvas_handle) { if (dlclose(libvas_handle) != 0) ! warningx("dlclose() failed: %s", dlerror()); libvas_handle = NULL; } }