runtime=${runtime#-} VALEUR ABSOLUE
This commit is contained in:
parent
8cc76f220b
commit
fdc1eab051
|
@ -92,6 +92,7 @@ else
|
|||
total_old_minutes=$((10#$old_hour*60 + 10#$old_min))
|
||||
total_minutes=$((10#$hour*60 + 10#$min))
|
||||
runtime=$((total_minutes - total_old_minutes))
|
||||
runtime=${runtime#-}
|
||||
fi
|
||||
# RUN TIME $runtime
|
||||
|
||||
|
|
Loading…
Reference in New Issue