diff --git a/fetch.sh b/fetch.sh index 01f8bfdf..abe4052c 100755 --- a/fetch.sh +++ b/fetch.sh @@ -212,6 +212,10 @@ getdistro () { "OpenBSD") distro="OpenBSD" ;; + + *) + distro="Unknown" + ;; esac } @@ -242,6 +246,10 @@ getuptime () { uptime=${uptime# } uptime="${uptime# * up }" ;; + + *) + uptime="Unknown" + ;; esac } @@ -285,7 +293,9 @@ getpackages () { packages=$(pkg_info | wc -l) ;; - *) packages="Unknown" ;; + *) + packages="Unknown" + ;; esac }