From 1d203c83441c93c548f88f59b83e1a374504d27d Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 24 Sep 2021 10:57:12 -0600 Subject: [PATCH] Fix typo in last commit, use boolean AND not bitwise. --- plugins/sudoers/cvtsudoers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/sudoers/cvtsudoers.c b/plugins/sudoers/cvtsudoers.c index 5faef0824..2c3a2e2f5 100644 --- a/plugins/sudoers/cvtsudoers.c +++ b/plugins/sudoers/cvtsudoers.c @@ -331,7 +331,7 @@ main(int argc, char *argv[]) } /* Set pwutil backend to use the filter data. */ - if (conf->filter != NULL & !match_local) { + if (conf->filter != NULL && !match_local) { sudo_pwutil_set_backend(cvtsudoers_make_pwitem, cvtsudoers_make_gritem, cvtsudoers_make_gidlist_item, cvtsudoers_make_grlist_item); } else {