diff options
-rw-r--r-- | lib/Youri/Submit/Check/ACL.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Youri/Submit/Check/ACL.pm b/lib/Youri/Submit/Check/ACL.pm index 1719c36..cec8f0e 100644 --- a/lib/Youri/Submit/Check/ACL.pm +++ b/lib/Youri/Submit/Check/ACL.pm @@ -40,7 +40,7 @@ sub run { my ($arch, $media, $r, $users) = @$acl; next if $arch !~ $a || $srpm !~ $r || $media !~ $media; if ($user =~ /$users/) { - return 1 + return } else { return "$user is not authorized to upload packages belonging to $srpm (authorized persons: " . join(', ', split '\|', $users) . ")"; } |