From 8ed00e1788abdd06d020b354681309285f2d3687 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 9 Jul 2025 20:12:46 +0200 Subject: [PATCH] =?UTF-8?q?=E2=88=92useless?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sh/log/log.sh | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/sh/log/log.sh b/sh/log/log.sh index a7c9c36..eddf92c 100644 --- a/sh/log/log.sh +++ b/sh/log/log.sh @@ -72,13 +72,11 @@ rwx_log_warn() { # TODO simplify _rwx_main_log() { - if rwx_main_interactive; then - [ ${#} -gt 0 ] || set -- "" - local line - for line in "${@}"; do - echo "${line}" - done - fi + [ ${#} -gt 0 ] || set -- "" + local line + for line in "${@}"; do + echo "${line}" + done } _rwx_log() {