diff options
author | Florent Villard <warly@mandriva.com> | 2006-10-17 16:10:41 +0000 |
---|---|---|
committer | Florent Villard <warly@mandriva.com> | 2006-10-17 16:10:41 +0000 |
commit | 32ff900c68b45fc9dae21952494e334a6f54881b (patch) | |
tree | b2c9a9de6f282319278359469c7005f7ecd4b152 /lib | |
parent | 1dc5e5210b35dcce9f36c315fa7170ef874c27e3 (diff) | |
download | mga-youri-submit-32ff900c68b45fc9dae21952494e334a6f54881b.tar mga-youri-submit-32ff900c68b45fc9dae21952494e334a6f54881b.tar.gz mga-youri-submit-32ff900c68b45fc9dae21952494e334a6f54881b.tar.bz2 mga-youri-submit-32ff900c68b45fc9dae21952494e334a6f54881b.tar.xz mga-youri-submit-32ff900c68b45fc9dae21952494e334a6f54881b.zip |
now checks must return the error message
Diffstat (limited to 'lib')
-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) . ")"; } |