Commit 2b592629 authored by Muhammad Herdiansyah's avatar Muhammad Herdiansyah

Memory [IRIX]: Shellcheck compliance

parent 2fcbc778
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment