From 98097feec50a7b532164a58fa65ae32d1eb7e5a7 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Mon, 30 Aug 2021 17:20:38 +0300 Subject: [PATCH] misc: nit --- kiss | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/kiss b/kiss index 198047b..9ade8f9 100755 --- a/kiss +++ b/kiss @@ -1075,12 +1075,9 @@ pkg_verify() { # shellcheck disable=2038,2086 set -- $hash - # Only read checksums if we generated some. - null "$1" || - # Check that the first column (separated by whitespace) match in both # checksum files. If any part of either file differs, mismatch. Abort. - while read -r chk _ || ok "$1"; do + null "$1" || while read -r chk _ || ok "$1"; do printf '%s\n%s\n' "- ${chk:-missing}" "+ ${1:-no source}" case $1-${chk:-null} in