aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpfetch8
1 files changed, 4 insertions, 4 deletions
diff --git a/pfetch b/pfetch
index c4a4097..9faf3b2 100755
--- a/pfetch
+++ b/pfetch
@@ -121,13 +121,13 @@ get_kernel() {
get_host() {
case $os in
Linux*|GNU*)
- read -r model < /sys/devices/virtual/dmi/id/product_name
- read -r model < /sys/devices/virtual/dmi/id/product_version
- read -r model < /sys/firmware/devicetree/base/model
+ read -r host < /sys/devices/virtual/dmi/id/product_name
+ read -r host < /sys/devices/virtual/dmi/id/product_version
+ read -r host < /sys/firmware/devicetree/base/model
;;
esac
- log host "$model"
+ log host "$host"
}
get_uptime() {