From 47188ffedde589db3462acce705a7a267f1e0e47 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 25 Nov 2024 18:22:35 +0100 Subject: [PATCH] gt --- sh/main.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}"