diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-04 16:30:45 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-05 12:18:22 +0100 |
commit | 50e78df21bd3032362bea7ee5a3d9b3bcf81d15b (patch) | |
tree | 52d3ea1d328c27448fcf294a26b47c2397c6522d | |
parent | 1b324cbefb8cd17fbbc26acb3092c8e47844a4b8 (diff) |
lib.sh: simplify err-not-set handling
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r-- | include/lib.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/lib.sh b/include/lib.sh index fbbb92da..e54fd6b4 100644 --- a/include/lib.sh +++ b/include/lib.sh @@ -180,8 +180,7 @@ err() real_err="$xbmk_err" if [ -z "$xbmk_err" ]; then - printf "WARNING: err not set. Args: %s\n" "$(echo "$@")" 1>&2 - printf "REMARK: Setting err to default 'err_' value\n" 1>&2 + printf "WARNING: err not set. Defaulting to 'err_'\n" 1>&2 real_err="err_" fi |