aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhmlr <elouangros@hotmail.com>2022-04-22 21:15:22 +0200
committerhmlr <elouangros@hotmail.com>2022-04-22 21:15:22 +0200
commit41f0deddf7182f8a040df459f70384a0763ad469 (patch)
tree731d5b8e2f39eaea21014099f2ee5b2815fabd79
parenta906ff89680c78cec9785f3ff49ca8b272a0f96b (diff)
downloadpfetch-master.tar.gz
fixed host issueHEADmaster
-rwxr-xr-xpfetch3
1 files changed, 2 insertions, 1 deletions
diff --git a/pfetch b/pfetch
index d47b878..02f48c9 100755
--- a/pfetch
+++ b/pfetch
@@ -429,7 +429,8 @@ get_host() {
;;
(OpenBSD*)
- host=$(sysctl -n hw.version)
+ host=$(sysctl -n hw.vendor \
+ hw.product)
;;
(*BSD* | Minix)