summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2017-07-07 07:01:51 -0400
committerDave Reisner <dreisner@archlinux.org>2017-07-07 07:01:51 -0400
commit2331e04e9fbf58ca81053d58d079957b39070e15 (patch)
tree40265a29d1611dfd90ec135ed14cafae5da1ac24
parent9510ac69675ea8d1ddaa4e5061e6fe4c961d1973 (diff)
downloadasp32-2331e04e9fbf58ca81053d58d079957b39070e15.tar.xz
ensure package_resolve returns an error on failed lookup
-rw-r--r--package.inc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/package.inc.sh b/package.inc.sh
index f01374b..e688ad0 100644
--- a/package.inc.sh
+++ b/package.inc.sh
@@ -14,6 +14,7 @@ package_resolve() {
fi
log_error 'unknown package: %s' "$pkgname"
+ return 1
}
package_init() {