pkg_find_version: silence stderr

This commit is contained in:
Dylan Araps 2021-07-06 21:05:03 +03:00
parent 49b2b72cd8
commit 0c1d4cbcf5
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

2
kiss
View File

@ -173,7 +173,7 @@ pkg_lint() {
pkg_find_version() { pkg_find_version() {
pkg_find "$1" pkg_find "$1"
read -r repo_ver repo_rel < "$repo_dir/version" || read -r repo_ver repo_rel 2>/dev/null < "$repo_dir/version" ||
die "$1" "Failed to read version file ($repo_dir/version)" die "$1" "Failed to read version file ($repo_dir/version)"
} }