diff options
-rw-r--r-- | libfshelp/exec-reauth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libfshelp/exec-reauth.c b/libfshelp/exec-reauth.c index 6ac38d5e..bbf8b618 100644 --- a/libfshelp/exec-reauth.c +++ b/libfshelp/exec-reauth.c @@ -77,7 +77,7 @@ fshelp_exec_reauth (int suid, uid_t uid, int sgid, gid_t gid, if (suid) err = idvec_setid (eff_uids, avail_uids, uid, &_secure); if (sgid && !err) - err = idvec_setid (eff_uids, avail_uids, gid, &_secure); + err = idvec_setid (eff_gids, avail_gids, gid, &_secure); if (err) goto abandon_suid; |