aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpfetch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pfetch b/pfetch
index 63c2de8..588a4f6 100755
--- a/pfetch
+++ b/pfetch
@@ -331,7 +331,7 @@ get_memory() {
# This ensures that any variables defined in the while loop
# are still accessible in the script.
done <<-EOF
- $(vmstat)
+ $(vm_stat)
EOF
mem_used=$((mem_used * 4 / 1024))