aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xpfetch6
1 files changed, 6 insertions, 0 deletions
diff --git a/pfetch b/pfetch
index 40bd963..8093daf 100755
--- a/pfetch
+++ b/pfetch
@@ -652,6 +652,12 @@ get_pkgs() {
(IRIX)
packages=$((packages - 3))
;;
+
+ # OpenBSD's wc prints whitespace before the output
+ # which needs to be stripped.
+ (OpenBSD)
+ packages=$((packages))
+ ;;
esac
case $packages in