From: Todd C. Miller Date: Tue, 8 Jun 2010 14:11:18 +0000 (-0400) Subject: Fix typo X-Git-Tag: SUDO_1_7_3~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dee32ba1511896b43e604396fb56d307416b3ec1;p=sudo Fix typo --HG-- branch : 1.7 --- diff --git a/set_perms.c b/set_perms.c index 4f3f44900..99b310d9c 100644 --- a/set_perms.c +++ b/set_perms.c @@ -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"); }