Replace fgrep and egrep with grep -F/-E
GNU Grep 3.8 reports the following warnings:
egrep: warning: egrep is obsolescent; using grep -E
fgrep: warning: fgrep is obsolescent; using grep -F
This commit is contained in:
committed by
Ondřej Surý
parent
65e91ef5e6
commit
212c4de043
@@ -1194,7 +1194,7 @@ wait_until_raw_zone_update_is_processed() {
|
||||
zone="$1"
|
||||
for i in 1 2 3 4 5 6 7 8 9 10
|
||||
do
|
||||
if nextpart ns3/named.run | egrep "zone ${zone}.*(sending notifies|receive_secure_serial)" > /dev/null; then
|
||||
if nextpart ns3/named.run | grep -E "zone ${zone}.*(sending notifies|receive_secure_serial)" > /dev/null; then
|
||||
return
|
||||
fi
|
||||
sleep 1
|
||||
|
||||
Reference in New Issue
Block a user