Bug-fix in 20-memory

This commit is contained in:
Slava
2024-11-15 22:13:34 +00:00
parent e244affe6e
commit 1c0a5c81c3

View File

@@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
mapfile -t mem < <( free --mega) mapfile -t mem < <( free --mega | tail -n +2)
IFS=$'\n' mem=($(sort <<<"${mem[*]}" | tail -n +2)) IFS=$'\n' mem=($(sort <<<"${mem[*]}"))
unset IFS unset IFS
barWidth=38 barWidth=38