Revision 13327
Added by Aaron Marcuse-Kubitza over 10 years ago
util.sh | ||
---|---|---|
600 | 600 |
{ |
601 | 601 |
log_local; log+ 2; echo_func; kw_params format; log- 2 |
602 | 602 |
local format="${format-1}" # bold |
603 |
if ! can_highlight_log_msg; then format=; fi
|
|
603 |
if ! can_highlight_log_msg; then format=0; fi #remove surrounding formatting
|
|
604 | 604 |
format "$format" "$1" |
605 | 605 |
} |
606 | 606 |
|
Also available in: Unified diff
bugfix: lib/sh/util.sh: highlight_log_msg(): when not can_highlight_log_msg, need to remove any surrounding formatting