kiss: Hide read error message as we have our own

This commit is contained in:
Dylan Araps 2020-04-18 09:39:34 +03:00
parent 1c059e8139
commit 21caebdfc5
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

2
kiss
View File

@ -100,7 +100,7 @@ pkg_lint() {
log "$1" "Checking repository files"
cd "$(pkg_find "$1")"
read -r _ release < version
read -r _ release 2>/dev/null < version || die "Version file not found"
[ "$release" ] || die "$1" "Release field not found in version file"
[ -f sources ] || die "$1" "Sources file not found"