message type case unsensitive

This commit is contained in:
fatalerrors
2026-03-25 15:39:05 +01:00
parent c32771a4ff
commit 60dfe19049

View File

@@ -128,7 +128,7 @@ disp()
local color_enabled=1
[[ -n $NO_COLOR ]] && color_enabled=0
case $1 in
case ${1^^} in
"I")
if [[ $color_enabled -eq 1 ]]; then
local heads="[ ${IGreen}info${DEFAULTFG} ]"