Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
macOS: fix memory issue
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Oct 3, 2019
1 parent 52617b2 commit 8b9c409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pfetch
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ get_memory() {
# split is used on '.' to filter it out.
while IFS=:. read -r key val; do
case $key in
*wired*|*active*|*occupied*)
*' wired'*|*' active'*|*' occupied'*)
mem_used=$((mem_used + ${val:-0}))
;;
esac
Expand Down

0 comments on commit 8b9c409

Please sign in to comment.