1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-04 22:15:36 -07:00

kiss: Move error supression to where the error is

This commit is contained in:
Dylan Araps 2020-05-18 12:03:19 +03:00
parent 9aa8687a98
commit d4e6e14324
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

4
kiss
View File

@ -120,10 +120,10 @@ sh256() {
hash=$(sha256sum "$1" ||
sha256 -r "$1" ||
openssl dgst -sha256 -r "$1" ||
shasum -a 256 "$1")
shasum -a 256 "$1") 2>/dev/null
printf '%s %s\n' "${hash%% *}" "$1"
} 2>/dev/null
}
pkg_lint() {
log "$1" "Checking repository files"