Memory [IRIX]: Shellcheck compliance

This commit is contained in:
Muhammad Herdiansyah 2017-05-16 15:04:26 +07:00
parent 2fcbc778f1
commit 2b59262928

View file

@ -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