diff options
| author | Dylan Araps <dylan.araps@gmail.com> | 2019-09-29 16:59:08 +0300 |
|---|---|---|
| committer | Dylan Araps <dylan.araps@gmail.com> | 2019-09-29 16:59:08 +0300 |
| commit | 8ff9d722b5beaaab9a53496162cb92b7e6927ff3 (patch) | |
| tree | b10c70876ec2494dc92b967b98a2749af0572940 | |
| parent | ca4004de904266e23c51aa0d0d965098a3f20bf2 (diff) | |
| download | pfetch-8ff9d722b5beaaab9a53496162cb92b7e6927ff3.tar.gz | |
memory: netBSD fix
| -rwxr-xr-x | pfetch | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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)) |
