From c7742fca0adcf96eaaf8c04eed45e93c6fb2d204 Mon Sep 17 00:00:00 2001 From: Dylan Date: Mon, 18 Jan 2016 00:43:44 +1100 Subject: [PATCH] Added OS error detection --- fetch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fetch b/fetch index 80de5064..7002e55f 100755 --- a/fetch +++ b/fetch @@ -273,6 +273,10 @@ case "$(uname)" in "CYGWIN"*) os="Windows" ;; + + *) + printf "%s\n" "Couldn't detect OS, exiting" + ;; esac # Get Distro