vendor.sh: add missing error handle on sha512sum

it's still outputting to a file, with an error handle
there, but use of x_ on the sha512sum command itself
adds further assurance of reliability.

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-09-17 17:27:39 +01:00
parent c734a6e757
commit fe301a019b
+1 -1
View File
@@ -316,7 +316,7 @@ prep()
mksha512()
{
[ "${1%/*}" != "$1" ] && x_ cd "${1%/*}"
sha512sum ./"${1##*/}" >> "$2" || \
x_ sha512sum ./"${1##*/}" >> "$2" || \
err "!sha512sum \"$1\" > \"$2\"" "mksha512" "$@"
}