test
This commit is contained in:
parent
5af012495b
commit
4a9315eef5
@ -79,10 +79,9 @@ get_system_used_space() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
human_readable_bytes() {
|
human_readable_bytes() {
|
||||||
local spacebytes="$1"
|
spacekb=`expr $1 / 1024`
|
||||||
spacekb=`expr $spacebytes / 1024`
|
spacemb=`expr $1 / 1024 / 1024`
|
||||||
spacemb=`expr $spacebytes / 1024 / 1024`
|
spacegb=`expr $1 / 1024 / 1024 / 1024`
|
||||||
spacegb=`expr $spacebytes / 1024 / 1024 / 1024`
|
|
||||||
|
|
||||||
if [[ "$spacegb" -gt 0 ]]
|
if [[ "$spacegb" -gt 0 ]]
|
||||||
then
|
then
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user