mirror of
https://github.com/isc-projects/bind9.git
synced 2026-02-28 12:31:29 -05:00
"grep -q" isn't portable
This commit is contained in:
parent
13c799267b
commit
4754fa2ded
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ EOF
|
|||
}
|
||||
|
||||
# Weak verification that TKEY response is signed.
|
||||
grep -q "flags: qr; QUESTION: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1" nsupdate.out${num} || {
|
||||
grep "flags: qr; QUESTION: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1" nsupdate.out${num} > /dev/null || {
|
||||
echo "I:bad tkey response (not tsig signed)"
|
||||
return 1
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue