YELLOW in {}, da es sonst nach Array aussieht

This commit is contained in:
qbi 2021-05-03 22:57:47 +02:00
parent b8abc498f3
commit 08f773c525

View file

@ -134,7 +134,7 @@ print_warn() {
msg=$* msg=$*
if [ "$COLORED_OUTPUT" -eq 1 ]; then if [ "$COLORED_OUTPUT" -eq 1 ]; then
echo "$YELLOW[-]$NORMAL $msg" echo "${YELLOW}[-]$NORMAL $msg"
else else
echo "[-] $msg" echo "[-] $msg"
fi fi