summaryrefslogtreecommitdiffhomepage
path: root/subr.rtl/rtl_log.subr
diff options
context:
space:
mode:
Diffstat (limited to 'subr.rtl/rtl_log.subr')
-rw-r--r--subr.rtl/rtl_log.subr4
1 files changed, 3 insertions, 1 deletions
diff --git a/subr.rtl/rtl_log.subr b/subr.rtl/rtl_log.subr
index 89cfe4cb..57e2ebfd 100644
--- a/subr.rtl/rtl_log.subr
+++ b/subr.rtl/rtl_log.subr
@@ -82,7 +82,9 @@ rtl_log_msg() {
_rlm3_tag="fatal"; _rlm3_exitfl=1;
fi;
- if rtl_lmatch \$RTLP_LOG_TAGS "${_rlm3_tag}" ","; then
+ if [ "${_rlm3_tag}" = "fatal" ]\
+ || rtl_lmatch \$RTLP_LOG_TAGS "${_rlm3_tag}" ",";
+ then
eval _rlm3_attr='${LOG_TAG_'"${_rlm3_tag}"':-}';
if [ "${#_rlm3_attr}" -eq 0 ]; then
rtlp_log_printf "" "" "0;==> FIXME TODO XXX UNKNOWN TAG \`${_rlm3_tag}' PASSED TO rtl_log_msg()\n";