From 5725e3c4eead452818dfca232d4983f3a45eb67c Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 28 Jun 2024 13:41:22 +0100 Subject: lib.sh: condense err_() a bit Signed-off-by: Leah Rowe --- include/lib.sh | 3 +-- 1 file changed, 1 insertion(+), 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() -- cgit v1.2.1