From 9d8c0ca74c2be3a5c978e5eb64e937a901689875 Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 29 Jan 2016 23:54:12 +1100 Subject: [PATCH] Fix errors with the script exiting with status '1' --- fetch | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/fetch b/fetch index 90bf908e..6e6a440f 100755 --- a/fetch +++ b/fetch @@ -362,7 +362,7 @@ case "$(uname)" in *) printf "%s\n" "Couldn't detect OS, exiting" - exit + exit 1 ;; esac @@ -435,6 +435,11 @@ case "$os" in esac ascii_distro="$distro" +getdistro () { + distro="$distro" +} + + # }}} # Title {{{ @@ -1714,6 +1719,13 @@ bold () { # }}} +# Linebreak {{{ + +getlinebreak () { + linebreak="" +} + +# }}} clear="\033[0m"