Commits

stqn committed 554d96a

mprime-phc-setup: fix bug introduced in previous commit that would trigger when reaching the minimum vid.

  • Participants
  • Parent commits e3498b0

Comments (0)

Files changed (1)

 
 	cur_vid=$((cur_vid+vid_delta))
 
-	for (( ; cur_vid != vid_limit && pass2 == 0; cur_vid+=vid_delta )); do
+	for (( ; cur_vid*vid_delta < vid_limit*vid_delta && pass2 == 0; cur_vid+=vid_delta )); do
 		count=$short_test_length
 
 		echo "Trying vid $cur_vid for $count seconds"