mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 05:52:36 +02:00
lib.sh: stricter xbmk_err check in err()
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
+2
-2
@@ -177,9 +177,9 @@ x_()
|
||||
err()
|
||||
{
|
||||
xbmk_err_val=0
|
||||
real_err="" && [ -n "${xbmk_err+x}" ] && real_err="$xbmk_err"
|
||||
|
||||
real_err="$xbmk_err"
|
||||
if [ -z "$xbmk_err" ]; then
|
||||
if [ -z "$real_err" ]; then
|
||||
printf "WARNING: err not set. Defaulting to 'err_'\n" 1>&2
|
||||
real_err="err_"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user