]> granicus.if.org Git - sudo/commitdiff
Fix typo
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 8 Jun 2010 14:11:18 +0000 (10:11 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 8 Jun 2010 14:11:18 +0000 (10:11 -0400)
--HG--
branch : 1.7

set_perms.c

index 4f3f44900797ee689ce32c3a8873653f48c83587..99b310d9ccd5eb868c85af8261014a1da6682533 100644 (file)
@@ -517,7 +517,7 @@ runas_setgroups()
 static void
 restore_groups()
 {
-    if (user_groups >= 0 && setgroups(user_ngroups, user_groups) < 0)
+    if (user_ngroups >= 0 && setgroups(user_ngroups, user_groups) < 0)
        log_error(USE_ERRNO|MSG_ONLY, "can't reset user group vector");
 }