mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
reset progress bar on reaching end
This commit is contained in:
parent
8a918dcc7c
commit
44d30e1aa4
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ _progress_wait() {
|
|||
_progress "${_COUNT}" "${3}"
|
||||
fi
|
||||
if [[ "${_COUNT}" -gt "${2}" ]]; then
|
||||
_progress "${2}" "${3}"
|
||||
_COUNT="${1}"
|
||||
fi
|
||||
_COUNT="$((_COUNT+1))"
|
||||
sleep "${4}"
|
||||
|
|
Loading…
Reference in a new issue