aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpfetch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfetch b/pfetch
index b7936e4..36a578b 100755
--- a/pfetch
+++ b/pfetch
@@ -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