Bugfix: Resetting setting iteration count wrong.
parent
8a3de1cf92
commit
fe2f8d1748
|
@ -147,9 +147,9 @@ done
|
|||
echo "viewed $counts pages so far."
|
||||
read -r -p "😼 Do you want to go another $rep? (Y/n): " answer
|
||||
case $answer in
|
||||
[Yy]* ) echo "Going for another round!"; i=0;;
|
||||
[Yy]* ) echo "Going for another round!"; i=1;;
|
||||
[Nn]* ) ((repeat--)); echo "Ok, bye!";;
|
||||
* ) echo "Going for another round!"; i=0;;
|
||||
* ) echo "Going for another round!"; i=1;;
|
||||
esac
|
||||
done
|
||||
exit
|
||||
|
|
Loading…
Reference in New Issue