„gaboshlib/g_echo_error.bashfunc“ ändern

This commit is contained in:
olli 2022-09-28 13:58:23 +02:00
parent afd0fff87b
commit 36e0165d61

View File

@ -1,6 +1,7 @@
#!/bin/bash
function g_echo_error {
[ -z "$1" ] && return 0
echo -en "\033[97m$(g_date_print) \033[31mERROR:" 1>&2
cat <<< "$@" 1>&2
echo -en "\033[0m" 1>&2