diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-28 13:41:22 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-28 13:41:22 +0100 |
commit | 5725e3c4eead452818dfca232d4983f3a45eb67c (patch) | |
tree | 246b5d59125c7b0be7b5ed35500fbb87d8245cf4 /include/lib.sh | |
parent | e3546f77b89faf3862de0b2ba5e0570933dad50d (diff) |
lib.sh: condense err_() a bit
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/lib.sh')
-rwxr-xr-x | include/lib.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/lib.sh b/include/lib.sh index 627e7ce1..301ccb54 100755 --- a/include/lib.sh +++ b/include/lib.sh @@ -19,8 +19,7 @@ err="err_" err_() { - printf "ERROR %s: %s\n" "$0" "$1" 1>&2 - exit 1 + printf "ERROR %s: %s\n" "$0" "$1" 1>&2; exit 1 } setvars() |