From 41b958113a26ec450b7ddc8f3128a99ce440590a Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Thu, 20 Jun 2024 19:06:14 +0200 Subject: [PATCH] helpers2.1: unbound var @_@ --- helpers/helpers.v2.1.d/logging | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers/helpers.v2.1.d/logging b/helpers/helpers.v2.1.d/logging index 5c278ab0a..d10330581 100644 --- a/helpers/helpers.v2.1.d/logging +++ b/helpers/helpers.v2.1.d/logging @@ -100,7 +100,7 @@ ynh_script_progression() { # Build $progression_bar from progress_string(0,1,2) according to $effective_progression and the weight of the current task # expected_progression is the progression expected after the current task - local expected_progression="$((($increment_progression + $weight) * $progress_scale / $max_progression - $effective_progression))" + local expected_progression="$((($increment_progression + 1) * $progress_scale / $max_progression - $effective_progression))" # Hack for the "--last" message if grep -qw 'completed' <<< "$1";