mirror of
https://codeberg.org/libreboot/lbmk.git
synced 2026-07-11 14:02:52 +02:00
lib.sh: Make x_ err if first arg is empty
Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
@@ -169,6 +169,7 @@ find_ex()
|
||||
|
||||
x_()
|
||||
{
|
||||
[ $# -lt 1 ] || [ -n "$1" ] || $err "Empty first arg: x_ $(echo "$@")"
|
||||
[ $# -lt 1 ] || "$@" || $err "Unhandled error for: $(echo "$@")"; :
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user