Commit 3a7285dd authored by Mike Hibler's avatar Mike Hibler
Browse files

Bug fix in all-but-swapper-frozen code.

Don't attempt to run setgroups on non-active accounts.
parent 47d9811e
......@@ -156,6 +156,8 @@ $users_result->dataseek(0);
while (my ($uid,$admin) = $users_result->fetchrow_array()) {
if ($uid eq "elabman");
if ($status ne USERSTATUS_ACTIVE());
mysystem("$TB/sbin/setgroups $uid");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment