Correction du temps total pour des morceaux distants

This commit is contained in:
Breizh 2022-08-13 02:51:05 +02:00
parent 75f07dc001
commit 62004a2348
1 changed files with 2 additions and 1 deletions

View File

@ -167,7 +167,8 @@ do
declare -i time_elapsed time_total time_left
time_total="${o["Time"]:--1}"
time_total="${o["time"]#*:}"
[[ "$time_total" -eq 0 ]] && time_total="${o["Time"]}"
[[ "$time_total" -eq 0 ]] && time_total=-1
if [[ "${o["state"]}" == "stop" ]]
then