1
0
mirror of https://github.com/myvesta/vesta.git synced 2025-03-12 04:35:23 -07:00

fixed database disk space calculation

This commit is contained in:
Serghey Rodin 2012-12-09 02:34:57 +02:00
parent 8224d39212
commit f79262da21

@ -512,6 +512,7 @@ get_mysql_disk_usage() {
if [ "$usage" == 'NULL' ] || [ "${usage:0:1}" -eq '0' ]; then
usage=1
fi
export LC_ALL=C
usage=$(printf "%0.f\n" $usage)
}