Memory [IRIX]: Shellcheck compliance

This commit is contained in:
Muhammad Herdiansyah 2017-05-16 15:04:26 +07:00
parent 2fcbc778f1
commit 2b59262928
1 changed files with 2 additions and 2 deletions

View File

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