check-postfix-fatal-errors.sh: fix error parsing log-file if day of mont is lower than 10.

This commit is contained in:
Christoph 2023-01-04 01:16:42 +01:00
parent e7077ef26f
commit 16b4442361

View File

@ -318,7 +318,7 @@ fi
_err_msg="$(grep -E "^$(LC_ALL="en_US.UTF-8" date +'%b %d ')" $MAIL_LOG | grep " fatal:")" _err_msg="$(grep -E "^$(LC_ALL="en_US.UTF-8" date +'%b %d ' | sed -e 's/0\([0-9]\)/ \1/g')" $MAIL_LOG | grep " fatal:")"
if [[ -n "$_err_msg" ]] ; then if [[ -n "$_err_msg" ]] ; then
if $terminal; then if $terminal; then