mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
Belatedly add syncwait.
X-MFC with: r326861
This commit is contained in:
parent
504eda2021
commit
21274cad33
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326863
@ -12,4 +12,11 @@ gmirror_test_cleanup()
|
||||
}
|
||||
trap gmirror_test_cleanup ABRT EXIT INT TERM
|
||||
|
||||
syncwait()
|
||||
{
|
||||
while $(gmirror status -s $name | grep -q SYNCHRONIZING); do
|
||||
sleep 0.1;
|
||||
done
|
||||
}
|
||||
|
||||
. `dirname $0`/../geom_subr.sh
|
||||
|
Loading…
Reference in New Issue
Block a user