better percentages

This commit is contained in:
Tobias Powalowski 2023-08-04 08:25:18 +02:00
parent bdf80a90a8
commit 7a9bedc66d

View file

@ -83,7 +83,7 @@ EOF
# $4: sleep time
_progress_wait() {
_COUNT=${1}
while [[ -e "${_W_DIR}/.archboot" ]]; do
while [[ -e "${_W_DIR}/.archboot" || -e /.archboot ]]; do
if [[ "${_COUNT}" -lt "${2}" ]]; then
_progress "${_COUNT}" "${3}"
fi