diff --git a/helpers/logging b/helpers/logging index ae9c24ea9..82cb2814a 100644 --- a/helpers/logging +++ b/helpers/logging @@ -309,7 +309,7 @@ ynh_script_progression() { local print_exec_time="" if [ $time -eq 1 ] && [ "$exec_time" -gt 10 ]; then - print_exec_time=" [$(bc <<< 'scale=1; 12345 / 60' ) minutes]" + print_exec_time=" [$(bc <<< 'scale=1; $exec_time / 60' ) minutes]" fi ynh_print_info "[$progression_bar] > ${message}${print_exec_time}"