memory: netBSD fix
This commit is contained in:
parent
ca4004de90
commit
8ff9d722b5
1 changed files with 1 additions and 1 deletions
2
pfetch
2
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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue