From c9a71a7d2eb029c4ae3faa7d1f0ca178c75a5fa4 Mon Sep 17 00:00:00 2001 From: olli Date: Tue, 17 Jan 2023 09:44:29 +0100 Subject: [PATCH] =?UTF-8?q?=E2=80=9Egaboshlib/g=5Fecho=5Fdebug=E2=80=9C=20?= =?UTF-8?q?=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gaboshlib/g_echo_debug | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gaboshlib/g_echo_debug b/gaboshlib/g_echo_debug index 33df576..34e5e72 100644 --- a/gaboshlib/g_echo_debug +++ b/gaboshlib/g_echo_debug @@ -3,8 +3,7 @@ function g_echo_debug { [ -z "$1" ] && return 0 echo -en "\033[97m$(g_date_print) \033[35mDEBUG:" - cat <<< "$@" + cat <<< "$@ +$(set -o posix; set | grep '^[a-z].*=')" echo -en "\033[0m" - [ -z $g_alltosyslog ] && return 0 - g_logger $@ }