diff --git a/sh/main.sh b/sh/main.sh index 1cc1116..6e68a16 100644 --- a/sh/main.sh +++ b/sh/main.sh @@ -70,7 +70,7 @@ _sh_main_commands() { _sh_main_log() { case "${-}" in *i*) - [ -n "${1}" ] || set -- "" + [ ${#} -gt 0 ] || set -- "" local line for line in "${@}"; do echo "${line}"