diff --git a/sh/log.sh b/sh/log.sh index 4e7a63e..2be59e0 100644 --- a/sh/log.sh +++ b/sh/log.sh @@ -56,6 +56,7 @@ sh_log_warn() { _sh_log() { local prefix="${1}" shift + [ ${#} -gt 0 ] || set -- "" local line for line in "${@}"; do if [ -n "${prefix}" ]; then