mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-12-13 10:42:06 +01:00
Use grep -E instead of egrep
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user