Memory [IRIX]: Shellcheck compliance
This commit is contained in:
parent
2fcbc778f1
commit
2b59262928
4
neofetch
4
neofetch
|
@ -1298,8 +1298,8 @@ get_memory() {
|
||||||
|
|
||||||
"IRIX")
|
"IRIX")
|
||||||
mem_stat=($(pmem | head -1))
|
mem_stat=($(pmem | head -1))
|
||||||
mem_total="$((${mem_stat[3]} / 1024))"
|
mem_total="$((mem_stat[3] / 1024))"
|
||||||
mem_free="$((${mem_stat[5]} / 1024))"
|
mem_free="$((mem_stat[5] / 1024))"
|
||||||
mem_used="$((mem_total - mem_free))"
|
mem_used="$((mem_total - mem_free))"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Reference in New Issue