diff --git a/abuild.in b/abuild.in index 595f09b..0370ac6 100644 --- a/abuild.in +++ b/abuild.in @@ -2266,8 +2266,7 @@ index() { update_abuildrepo_index; } all() { if ! [ -n "$force" ]; then - check_arch - if [ $? -ne 0 ]; then + if ! check_arch; then echo "Package not available for the target architecture ($CARCH). Aborting." return 0 fi