From 8ff9d722b5beaaab9a53496162cb92b7e6927ff3 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 29 Sep 2019 16:59:08 +0300 Subject: [PATCH] memory: netBSD fix --- pfetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pfetch b/pfetch index af80084..59d95ba 100755 --- a/pfetch +++ b/pfetch @@ -574,7 +574,7 @@ get_memory() { # NetBSD implements a lot of the Linux '/proc' filesystem, # this uses the same parser as the Linux memory detection. - while IFS=:k read -r key val _; do + while IFS=':k ' read -r key val _; do case $key in MemFree) mem_free=$((val / 1024))