diff options
author | Leah Rowe <leah@libreboot.org> | 2025-05-05 20:41:48 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2025-05-05 20:41:48 +0100 |
commit | c275f35e7e26c878011e8033680c11b75637390a (patch) | |
tree | ed9807b85b193c9d51d9424d0a817fb54bba83fb /include | |
parent | 17d826d3a9614fea2bc87d8203b7f07fe4b7fb54 (diff) |
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>
Diffstat (limited to 'include')
-rw-r--r-- | include/lib.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/lib.sh b/include/lib.sh index e83170ee..6de1010e 100644 --- a/include/lib.sh +++ b/include/lib.sh @@ -176,7 +176,6 @@ find_ex() x_() { - [ $# -lt 1 ] && printf "WARNING: x_ called without arguments\n" 1>&2 [ $# -lt 1 ] || [ -n "$1" ] || err "Empty first arg: x_ $(echo "$@")" [ $# -lt 1 ] || "$@" || err "Unhandled error for: $(echo "$@")"; : } |