Use grep -E instead of egrep

This commit is contained in:
a1346054
2022-09-12 20:12:28 +00:00
parent b3c49b584d
commit 4712c48597
5 changed files with 11 additions and 11 deletions

View File

@ -181,7 +181,7 @@ starttls_line0() {
debugme echo "... received result: "
cat $reply
if [ -n "$2" ]; then
if egrep -q "$2" $reply; then
if grep -Eq "$2" $reply; then
debugme echo "---> reply matched \"$2\""
[ $DEBUG -eq 0 ] && rm $reply
return 0