use read -r -t instead of sleep to avoid errors while reinstalling glibc

This commit is contained in:
Tobias Powalowski 2024-07-08 10:51:47 +02:00
parent 9cd24797ae
commit abb6bd40b5

View file

@ -110,7 +110,7 @@ _progress_wait() {
_progress "${2}" "${3}"
fi
_COUNT="$((_COUNT+1))"
sleep "${4}"
read -r -t "${4}"
done
}