Fix (another) bug on writing postfix master.cf.
This commit is contained in:
parent
4a24217e27
commit
d20f401ebf
@ -495,7 +495,7 @@ while IFS='' read -r _line || [[ -n $_line ]] ; do
|
||||
_found=false
|
||||
fi
|
||||
|
||||
if echo "$_line" | grep -i -q -E "^\s*127.0.0.1:10025\s+inet\s+" 2> /dev/null ; then
|
||||
if echo "$_line" | grep -i -q -E "^\s*(127.0.0.1|localhost):10025\s+inet\s+" 2> /dev/null ; then
|
||||
_found=true
|
||||
fi
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user