Fix errors with the script exiting with status '1'

This commit is contained in:
Dylan 2016-01-29 23:54:12 +11:00
parent d7d16ecab2
commit 9d8c0ca74c
1 changed files with 13 additions and 1 deletions

14
fetch
View File

@ -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"