diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-04 16:30:45 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-04 16:31:08 +0100 |
commit | 51b2a1159d0d915c080565ba8d2f41203cef6f80 (patch) | |
tree | 2dc9b2cd2c443eeb103ec8fe2a9847599ab77d1c /include | |
parent | 61e5fd1a0b2791b2819a5d0e58fa76208a4e8774 (diff) |
lib.sh: simplify err-not-set handling
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-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 |