mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 13:24:25 -07:00
fixed database disk space calculation
This commit is contained in:
parent
8224d39212
commit
f79262da21
1 changed files with 1 additions and 0 deletions
|
@ -512,6 +512,7 @@ get_mysql_disk_usage() {
|
||||||
if [ "$usage" == 'NULL' ] || [ "${usage:0:1}" -eq '0' ]; then
|
if [ "$usage" == 'NULL' ] || [ "${usage:0:1}" -eq '0' ]; then
|
||||||
usage=1
|
usage=1
|
||||||
fi
|
fi
|
||||||
|
export LC_ALL=C
|
||||||
usage=$(printf "%0.f\n" $usage)
|
usage=$(printf "%0.f\n" $usage)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue