summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nshd/hackers_git/db_group.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nshd/hackers_git/db_group.go b/src/nshd/hackers_git/db_group.go
index 2a9a9cf..58115f8 100644
--- a/src/nshd/hackers_git/db_group.go
+++ b/src/nshd/hackers_git/db_group.go
@@ -82,6 +82,7 @@ func (e *groupEnumerator) GetNext() (*p.Group, error) {
for len(e.groups) > 0 {
name := e.groups[0]
group := e.backend.groupByName(name, e.users)
+ e.groups = e.groups[1:]
if group.ID >= 0 {
return &group, nil
}