mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
lib.sh: additional error handling on cat
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-1
@@ -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"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user