aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmkpeople2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkpeople b/mkpeople
index 5f34dc9..f579635 100755
--- a/mkpeople
+++ b/mkpeople
@@ -40,7 +40,7 @@ sub loadgroups {
for my $user (@{$groups{$groupname}->{member}}) {
loaduser($ldap, $user) unless exists $users{$user};
if (exists $users{$user}) {
- push $users{$user}->{groups}, $groupname;
+ push @{$users{$user}->{groups}}, $groupname;
}
}
$res->{$groupname}->{member} =