summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-09-08 08:46:59 -0600
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-09-08 08:46:59 -0600
commitbdfdfb549ca887340ceb5e2d0024954dc9c4cee9 (patch)
tree85f9f41a3f9e5749934b477da4a397273e0a9bce /src
parente12f9e56f49aee2d97e12b1cc0f87f9528bc8ba8 (diff)
oops
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
}