mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -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
|
||||
usage=1
|
||||
fi
|
||||
export LC_ALL=C
|
||||
usage=$(printf "%0.f\n" $usage)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue