Memory [IRIX]: Shellcheck compliance
This commit is contained in:
parent
2fcbc778f1
commit
2b59262928
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -1298,8 +1298,8 @@ get_memory() {
|
|||
|
||||
"IRIX")
|
||||
mem_stat=($(pmem | head -1))
|
||||
mem_total="$((${mem_stat[3]} / 1024))"
|
||||
mem_free="$((${mem_stat[5]} / 1024))"
|
||||
mem_total="$((mem_stat[3] / 1024))"
|
||||
mem_free="$((mem_stat[5] / 1024))"
|
||||
mem_used="$((mem_total - mem_free))"
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Reference in a new issue