From f2be7906ec1349257151351396e0282241a12454 Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 18 Jan 2016 17:47:31 +1100 Subject: [PATCH] Fix memory detection on OpenBSD --- fetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fetch b/fetch index 0ad28cc9..750446dd 100755 --- a/fetch +++ b/fetch @@ -641,7 +641,7 @@ getmemory () { memory="${memused}MB / ${memtotal}MB" ;; - "BSD") + "OpenBSd" | "BSD") memtotal=$(dmesg | awk '/real mem/ {printf $5}') memtotal=${memtotal/\(/} memtotal=${memtotal/MB\)/}