summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpkgbuild-check-nonfree6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgbuild-check-nonfree b/pkgbuild-check-nonfree
index 21842ac..b7c1237 100755
--- a/pkgbuild-check-nonfree
+++ b/pkgbuild-check-nonfree
@@ -40,6 +40,7 @@ function get_blacklist { # Download the blacklist.
exit 1
}
warning "Using local copy of blacklist"
+ }
}
function check_deps { # Check wheter a package depends on non-free
@@ -67,6 +68,8 @@ function check_deps { # Check wheter a package depends on non-free
fi
fi
done
+
+ return $ev
}
source /etc/libretools.conf
@@ -95,4 +98,5 @@ get_blacklist
check_deps
-exit $ev
+exit $?
+