diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-05-29 22:19:13 -0600 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2013-06-05 19:44:27 -0600 |
commit | 9c97b9cca9a8ff6fd1e1994b9429ee9ba1221623 (patch) | |
tree | 0b221f52b2da93de5ee42c299d6f9de7551156f3 /src/pkgbuild-check-nonfree | |
parent | 35e9dd7eb25ff4ec12f0a59c586f0a01c9db5dcd (diff) |
pkgbuild-check-nonfree: exit with 1 when not a PKGBUILD
Diffstat (limited to 'src/pkgbuild-check-nonfree')
-rwxr-xr-x | src/pkgbuild-check-nonfree | 2 |
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)" |