general: Fixed issue on AIX.

master
Dylan Araps 8 years ago
parent aa8c6c55f6
commit 82cc8ebb6e
  1. 2
      neofetch

@ -1510,7 +1510,7 @@ get_memory() {
;;
"AIX")
IFS=" " read -ra mem_stat <<< "$(svmon -G -O unit=MB)"
IFS=$'\n'"| " read -d "" -ra mem_stat <<< "$(svmon -G -O unit=MB)"
mem_total="${mem_stat[11]/.*}"
mem_free="${mem_stat[16]/.*}"

Loading…
Cancel
Save