summaryrefslogtreecommitdiff
path: root/include/lib.sh
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-28 13:41:22 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-28 13:41:22 +0100
commit5725e3c4eead452818dfca232d4983f3a45eb67c (patch)
tree246b5d59125c7b0be7b5ed35500fbb87d8245cf4 /include/lib.sh
parente3546f77b89faf3862de0b2ba5e0570933dad50d (diff)
lib.sh: condense err_() a bit
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include/lib.sh')
-rwxr-xr-xinclude/lib.sh3
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()