ajout de la gestion des float (fix)
This commit is contained in:
parent
7774c7d45b
commit
f9a38c84a0
|
|
@ -105,7 +105,7 @@ function getSSLExpireDayLeft()
|
|||
TODAY=$(date +%s)
|
||||
|
||||
# get diff as float
|
||||
echo "$EXPIRE $TODAY" | awk '{printf "%.3f jours\n", ($1-$2)/86400}'
|
||||
echo "$EXPIRE $TODAY" | awk '{printf "%.3f\n", ($1-$2)/86400}'
|
||||
}
|
||||
|
||||
# ---
|
||||
|
|
|
|||
Loading…
Reference in New Issue