Allow bail to use stdin for input

This commit is contained in:
Buddy 2025-10-28 13:26:29 -07:00
parent 36cd6b17d4
commit ef0f8cc177

View File

@ -1,4 +1,8 @@
bail() ( bail() {
echo >&2 "$@" if [ $# == 0 ]; then
cat >&2
else
echo >&2 "$@"
fi
exit 1 exit 1
) }