lib.sh x_(): Remove warning of empty args

It's completely unnecessary, and I forsee this
check breaking the build system at some point,
since some commands rely on the output of other
commands. Therefore, I've removed this check.

Signed-off-by: Leah Rowe <leah@libreboot.org>
25.04_branch
Leah Rowe 2025-05-05 20:41:48 +01:00
parent e47324619d
commit 0ba013a61d
1 changed files with 0 additions and 1 deletions

View File

@ -176,7 +176,6 @@ find_ex()
x_() x_()
{ {
[ $# -lt 1 ] && printf "WARNING: x_ called without arguments\n" 1>&2
[ $# -lt 1 ] || [ -n "$1" ] || err "Empty first arg: x_ $(echo "$@")" [ $# -lt 1 ] || [ -n "$1" ] || err "Empty first arg: x_ $(echo "$@")"
[ $# -lt 1 ] || "$@" || err "Unhandled error for: $(echo "$@")"; : [ $# -lt 1 ] || "$@" || err "Unhandled error for: $(echo "$@")"; :
} }