This commit is contained in:
Kroese 2023-04-17 16:07:35 +02:00 committed by GitHub
parent cdf526d455
commit cb40353563

View File

@ -75,6 +75,7 @@ function installPackages {
fi
done
}
trap finish SIGINT SIGTERM
@ -105,12 +106,10 @@ else
fi
elapsed=$((($(date +%s%N) - $ts)/1000000))
difference=$(((5000-elapsed)*0.001))
difference=$(echo | awk '{print $((5000-elapsed)) * 0.001}')
if (( difference > 0 )); then
echo "Elapsed time: $elapsed, difference: $difference"
sleep $difference
fi
# Display message in docker log output