summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/pkgbuild-check-nonfree2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkgbuild-check-nonfree b/src/pkgbuild-check-nonfree
index be9d20d..7c3d2d9 100755
--- a/src/pkgbuild-check-nonfree
+++ b/src/pkgbuild-check-nonfree
@@ -36,7 +36,7 @@ check_deps() (
local pkgbuild=$1
. "$pkgbuild"
if [[ -z "$pkgname" ]]; then
- return 1 # not a PKGBUILD
+ exit 1 # not a PKGBUILD
fi
msg2 "Looking for unfree dependencies of ${pkgbase:-${pkgname[0]}} $(get_full_version)"