Commit 3c39cdc6 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix bug in doaccounts that was causing the same group list to be

returned for all users. Actually, it was just not resetting the
count back to zero, so all users got their groups, plus a few extra.
parent c42d03e7
......@@ -1296,6 +1296,7 @@ COMMAND_PROTOTYPE(doaccounts)
gidint = -1;
tbadmin = root = atoi(row[8]);
gcount = 0;
while (1) {
......
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