mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
lib.sh: simplify err-not-set handling
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+1
-2
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user