aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpfetch6
1 files changed, 6 insertions, 0 deletions
diff --git a/pfetch b/pfetch
index f0db000..fb8923b 100755
--- a/pfetch
+++ b/pfetch
@@ -246,6 +246,12 @@ get_host() {
*BSD*)
host=$(sysctl -n hw.vendor hw.product)
;;
+
+ Haiku)
+ # '$arch' ends up being the hostname(?) on Haiku and
+ # there is no other way to get host information.
+ return
+ ;;
esac
# '$arch' is the cached output from 'uname -m'.