Fix available memory script.
It was writing a file to my home directory.
This commit is contained in:
parent
4ec4ca0e63
commit
f0162375d0
@ -15,7 +15,7 @@ while true; do
|
||||
free_percent=$((100 * free_pages / total_pages))
|
||||
text=""
|
||||
|
||||
if [ $free_bytes > $((1024 * 1024 * 1024)) ]; then
|
||||
if [ $free_bytes -ge $((1024 * 1024 * 1024)) ]; then
|
||||
text="$((free_bytes / 1024 / 1024 / 1024)) GiB"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user