Skip to content

Commit

Permalink
Merge pull request #9 from ltamaster/master
Browse files Browse the repository at this point in the history
Start sleep on 1
  • Loading branch information
ltamaster authored Apr 18, 2018
2 parents 7fad9f8 + 203a5b1 commit 8d55a3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion waitfor/contents/sleep
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ declare -ri sleep_secs=$(( quantity * multiplier ))

printf "Total sleep delay: %s seconds (%s * %s)\n" "$((sleep_secs * CYCLES))" "$INTERVAL" "$CYCLES"

declare -i completed=0
declare -i completed=1
while (( completed <= CYCLES ))
do
[[ "${PROGRESS}" == "true" ]] && progress_tic "."
Expand Down

0 comments on commit 8d55a3b

Please sign in to comment.