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:
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)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user