From fb1454984358b8082b8553543604e78613d57bfd Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Thu, 23 Nov 2023 07:31:59 +0100 Subject: [PATCH] long options --- linux/evocheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/evocheck.sh b/linux/evocheck.sh index 12838b2..1c3e176 100755 --- a/linux/evocheck.sh +++ b/linux/evocheck.sh @@ -156,7 +156,7 @@ check_dpkgwarning() { # Check if localhost, localhost.localdomain and localhost.$mydomain are set in Postfix mydestination option. check_postfix_mydestination() { # shellcheck disable=SC2016 - if ! grep mydestination /etc/postfix/main.cf | grep --quiet -E 'localhost([[:blank:]]|$)'; then + if ! grep mydestination /etc/postfix/main.cf | grep --quiet --extended-regexp 'localhost([[:blank:]]|$)'; then failed "IS_POSTFIX_MYDESTINATION" "'localhost' is missing in Postfix mydestination option." fi if ! grep mydestination /etc/postfix/main.cf | grep --quiet --fixed-strings 'localhost.localdomain'; then