lib.sh: additional error handling on cat

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-08-23 03:48:27 +01:00
parent 41945a2220
commit 616ef52a6f
+1 -1
View File
@@ -99,7 +99,7 @@ pad_one_byte()
{
paddedfile="`mktemp`" || err "mktemp pad_one_byte"
x_ cp "$1" "$paddedfile"
cat "$paddedfile" config/data/coreboot/0 > "$1" || err "!pad $1"; :
x_ cat "$paddedfile" config/data/coreboot/0 > "$1" || err "!pad $1"; :
x_ rm "$paddedfile"
}