summaryrefslogtreecommitdiff
path: root/usr/src/libpiny/lib
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/libpiny/lib')
-rw-r--r--usr/src/libpiny/lib/Piny/User.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/libpiny/lib/Piny/User.pm b/usr/src/libpiny/lib/Piny/User.pm
index 06226cb..ccdf714 100644
--- a/usr/src/libpiny/lib/Piny/User.pm
+++ b/usr/src/libpiny/lib/Piny/User.pm
@@ -192,7 +192,7 @@ sub _build_groups {
while ( @ent = getgrent( ) ) {
next if ( $ent[3] eq "" );
- foreach my $member ( split( /:/, $ent[3] ) ) {
+ foreach my $member ( split( / /, $ent[3] ) ) {
if ( $member eq $s->username( ) ) {
push @res, Piny::Group->new( gid => $ent[2] );
last;