fixed database disk space calculation

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

View file

@ -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)
}