summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-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 ccdf714..559adfd 100644
--- a/usr/src/libpiny/lib/Piny/User.pm
+++ b/usr/src/libpiny/lib/Piny/User.pm
@@ -81,7 +81,7 @@ sub has_group {
my ( $s, $group ) = @_;
foreach my $owngroup ( @{$s->groups( )} ) {
- return if $owngroup->gid( ) == $group->gid( );
+ return 1 if $owngroup->gid( ) == $group->gid( );
};
return;