=================================================================== RCS file: /cvs/openbsd/fw_update/fw_install.sh,v retrieving revision 1.70 retrieving revision 1.71 diff -u -r1.70 -r1.71 --- openbsd/fw_update/fw_install.sh 2021/12/11 05:35:21 1.70 +++ openbsd/fw_update/fw_install.sh 2021/12/11 05:38:23 1.71 @@ -1,5 +1,5 @@ #!/bin/ksh -# $OpenBSD: fw_install.sh,v 1.70 2021/12/11 05:35:21 afresh1 Exp $ +# $OpenBSD: fw_install.sh,v 1.71 2021/12/11 05:38:23 afresh1 Exp $ # # Copyright (c) 2021 Andrew Hewus Fresh # @@ -205,7 +205,7 @@ exit fi -if "$DOWNLOAD" && ! [[ -e "$CFILE" ]]; then +if "$DOWNLOAD"; then fetch "$CFILE" ! signify -qVep "$FWPUB_KEY" -x "$CFILE" -m "$CFILE" && echo "Signature check of SHA256.sig failed" >&2 && exit 1