From cafdfb4978c02f00cbcab48a68618ab0b9980da4 Mon Sep 17 00:00:00 2001 From: bryan Date: Sat, 14 Jan 2023 10:42:42 -0500 Subject: [PATCH] More work on sha256sum --- openwrtbuilder | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openwrtbuilder b/openwrtbuilder index b77226f..a713790 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -390,7 +390,7 @@ verifyImage() { for file_to_check in "$FACTORYIMGGZ" "$SYSUPGRADEIMGGZ"; do debug "file_to_check: $file_to_check" - [[ -f $file_to_check ]] || break + [[ -f $file_to_check ]] || continue checksum=$(grep "${file_to_check##*/}" "$SHA256_FILE" | cut -f1 -d' ') debug "checksum: $checksum" echo -n "$checksum $file_to_check" | sha256sum --check --status