Fix for POSIX compliant shell

On some POSIX compliant sh shells, sleep command doesn't accept args with s, m, h
This fixes running the script in FreeBSD
This commit is contained in:
PhilZ 2021-12-01 18:14:20 +01:00 committed by GitHub
parent 3c0c64c7ab
commit 333480f138
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -67,7 +67,7 @@ summarize_pings() {
print_dots() {
while : ; do
printf "."
sleep 1s
sleep 1
done
}