diff options
Diffstat (limited to 'lib/Youri/Submit/Check/ACL.pm')
-rw-r--r-- | lib/Youri/Submit/Check/ACL.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/Youri/Submit/Check/ACL.pm b/lib/Youri/Submit/Check/ACL.pm index dcf38ac..1719c36 100644 --- a/lib/Youri/Submit/Check/ACL.pm +++ b/lib/Youri/Submit/Check/ACL.pm @@ -42,12 +42,10 @@ sub run { if ($user =~ /$users/) { return 1 } else { - $self->{_error} = "$user is not authorized to upload packages belonging to $srpm (authorized persons: " . join(', ', split '\|', $users) . ")"; - return 0 + return "$user is not authorized to upload packages belonging to $srpm (authorized persons: " . join(', ', split '\|', $users) . ")"; } } } - 1 } sub get_acl { |