test
This commit is contained in:
parent
6daa769ea1
commit
860312539e
@ -79,7 +79,7 @@ get_system_used_space() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
human_readable_bytes() {
|
human_readable_bytes() {
|
||||||
local spacebytes=$(printf -v int '%d\n' "$1" 2>/dev/null)
|
local spacebytes=$($1 + 0)
|
||||||
spacekb=`expr "$spacebytes" / 1024`
|
spacekb=`expr "$spacebytes" / 1024`
|
||||||
spacemb=`expr "$spacebytes" / 1024 / 1024`
|
spacemb=`expr "$spacebytes" / 1024 / 1024`
|
||||||
spacegb=`expr "$spacebytes" / 1024 / 1024 / 1024`
|
spacegb=`expr "$spacebytes" / 1024 / 1024 / 1024`
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user