mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-09 00:02:04 -04:00
add sleep 1 to loop
This commit is contained in:
parent
526cc7c2c0
commit
cc444c73d5
1 changed files with 1 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ for i in 0 1 2 3 4 5 6 7 8 9; do
|
|||
ret=0
|
||||
grep 'dlz_example: shutting down zone example.nil' ns1/named.run > /dev/null 2>&1 || ret=1
|
||||
[ "$ret" -eq 0 ] && break
|
||||
sleep 1
|
||||
done
|
||||
[ "$ret" -eq 0 ] || echo "I:failed"
|
||||
status=`expr $status + $ret`
|
||||
|
|
|
|||
Loading…
Reference in a new issue