From: Todd C. Miller Date: Sat, 24 Sep 2011 14:24:40 +0000 (-0400) Subject: Don't error out if the group plugin cannot be loaded, just warn. X-Git-Tag: SUDO_1_8_3~25^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=842526d71fff856b11891d1ae3571e42936a13fa;p=sudo Don't error out if the group plugin cannot be loaded, just warn. --- diff --git a/plugins/sudoers/sudoers.c b/plugins/sudoers/sudoers.c index 4adabaac6..36a19f4f5 100644 --- a/plugins/sudoers/sudoers.c +++ b/plugins/sudoers/sudoers.c @@ -207,15 +207,11 @@ sudoers_policy_open(unsigned int version, sudo_conv_t conversation, /* XXX - collect post-sudoers parse settings into a function */ /* - * Initialize external group plugin. + * Initialize external group plugin, if any. */ if (def_group_plugin) { - switch (group_plugin_load(def_group_plugin)) { - case -1: - return -1; - case FALSE: + if (group_plugin_load(def_group_plugin) != TRUE) def_group_plugin = NULL; - } } /*