summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2025-09-17 17:27:39 +0100
committerLeah Rowe <leah@libreboot.org>2025-09-17 17:27:39 +0100
commitfe301a019be5f388cadb086961030802ef14bc80 (patch)
treecd1fb9aeca72f1c02f72d65814efeda9b83e649b /include
parentc734a6e75710921cc3734f2e284dfaac80a6f6af (diff)
vendor.sh: add missing error handle on sha512sumHEADmaster
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>
Diffstat (limited to 'include')
-rw-r--r--include/vendor.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vendor.sh b/include/vendor.sh
index a46ccc22..9d913b5a 100644
--- a/include/vendor.sh
+++ b/include/vendor.sh
@@ -316,7 +316,7 @@ prep()
mksha512()
{
[ "${1%/*}" != "$1" ] && x_ cd "${1%/*}"
- sha512sum ./"${1##*/}" >> "$2" || \
+ x_ sha512sum ./"${1##*/}" >> "$2" || \
err "!sha512sum \"$1\" > \"$2\"" "mksha512" "$@"
}