]> granicus.if.org Git - sudo/commitdiff
Repair usergr_matches() return value broken in last checkin.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 4 Aug 2010 13:32:52 +0000 (09:32 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 4 Aug 2010 13:32:52 +0000 (09:32 -0400)
--HG--
branch : 1.7

match.c

diff --git a/match.c b/match.c
index ef5c53936afad881a8e4e2e5acb444d6532b0308..1b200e513cbe536e2559ea3444b9a95a75c4ca8b 100644 (file)
--- a/match.c
+++ b/match.c
@@ -851,7 +851,7 @@ done:
     if (pw0 != NULL)
        pw_delref(pw0);
 
-    return(FALSE);
+    return(matched);
 }
 
 /*