From 07b2c83f9ab32019788b642a4ee16ef29c2349a9 Mon Sep 17 00:00:00 2001 From: Dylan Date: Tue, 26 Jan 2016 22:25:08 +1100 Subject: [PATCH] Add fallback to getdisk --- fetch | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fetch b/fetch index 3e63b664..82ba364a 100755 --- a/fetch +++ b/fetch @@ -1011,7 +1011,8 @@ getdisk () { case "$os" in "Linux") df_flags="-h --total" ;; "Mac OS X") df_flags="-H /" ;; - *"BSD") df_flags="-h -c" ;; + "FreeBSD") df_flags="-h -c" ;; + *) disk="Unknown"; return ;; esac # Get the disk info