Correction du temps total pour des morceaux distants
This commit is contained in:
parent
75f07dc001
commit
62004a2348
1 changed files with 2 additions and 1 deletions
|
@ -167,7 +167,8 @@ do
|
||||||
|
|
||||||
declare -i time_elapsed time_total time_left
|
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
|
[[ "$time_total" -eq 0 ]] && time_total=-1
|
||||||
if [[ "${o["state"]}" == "stop" ]]
|
if [[ "${o["state"]}" == "stop" ]]
|
||||||
then
|
then
|
||||||
|
|
Loading…
Reference in a new issue