Correction du temps total pour des morceaux distants

This commit is contained in:
Breizh 2022-08-13 02:51:05 +02:00
parent 95155050fd
commit 1bc440cb78

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