general: Fixed issue on AIX.
This commit is contained in:
parent
aa8c6c55f6
commit
82cc8ebb6e
1 changed files with 1 additions and 1 deletions
2
neofetch
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…
Reference in a new issue