From d4e6e143247875ca28491a62b60f1d9893ae5868 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 18 May 2020 12:03:19 +0300 Subject: [PATCH] kiss: Move error supression to where the error is --- kiss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kiss b/kiss index 57c2d1b..23710df 100755 --- a/kiss +++ b/kiss @@ -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"