mirror of
https://github.com/vdsm/virtual-dsm.git
synced 2025-02-24 13:30:02 +08:00
Ready
This commit is contained in:
parent
a2eafc93e6
commit
868d5493a4
@ -123,6 +123,7 @@ delay=5000
|
||||
elapsed=$((($(date +%s%N) - ts)/1000000))
|
||||
|
||||
if (( delay > elapsed )); then
|
||||
echo "$HEADER: Ready..."
|
||||
difference=$((delay-elapsed))
|
||||
float=$(echo | awk -v diff="${difference}" '{print diff * 0.001}')
|
||||
sleep "$float"
|
||||
|
Loading…
x
Reference in New Issue
Block a user