Skip to content
Snippets Groups Projects
Verified Commit c5019ed6 authored by Karel Koci's avatar Karel Koci :metal:
Browse files

helpers/force-make: fix retry count to be considered one less

Fixes: 530f999d

This got in as last minut code refactoring. For print purposes it counts
one less but in such case comparison has to be more than zero.
parent 7b0e030b
Branches
Tags
2 merge requests!377Turris OS 5.2 (HBK),!314helpers/force-make: fix retry count to be considered one less
Pipeline #73759 passed with stage
in 4 minutes and 9 seconds
......@@ -89,7 +89,7 @@ shift $((OPTIND - 1))
while true; do
for ((i=retry_count-1 ; i > 0 ; i--)); do
for ((i=retry_count-1 ; i >= 0 ; i--)); do
if make -j "$jobs_count" "$@"; then
exit 0
fi
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment