forked from kiss-community/kiss
kiss: Move error supression to where the error is
This commit is contained in:
parent
9aa8687a98
commit
d4e6e14324
4
kiss
4
kiss
@ -120,10 +120,10 @@ sh256() {
|
|||||||
hash=$(sha256sum "$1" ||
|
hash=$(sha256sum "$1" ||
|
||||||
sha256 -r "$1" ||
|
sha256 -r "$1" ||
|
||||||
openssl dgst -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"
|
printf '%s %s\n' "${hash%% *}" "$1"
|
||||||
} 2>/dev/null
|
}
|
||||||
|
|
||||||
pkg_lint() {
|
pkg_lint() {
|
||||||
log "$1" "Checking repository files"
|
log "$1" "Checking repository files"
|
||||||
|
Loading…
Reference in New Issue
Block a user