lib.sh: Make x_ err if first arg is empty

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2025-05-04 09:14:09 +01:00
parent 91bb6cbede
commit 59c94664e3
+1
View File
@@ -169,6 +169,7 @@ find_ex()
x_()
{
[ $# -lt 1 ] || [ -n "$1" ] || $err "Empty first arg: x_ $(echo "$@")"
[ $# -lt 1 ] || "$@" || $err "Unhandled error for: $(echo "$@")"; :
}