mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 20:34:57 +00:00
Fix errors with the script exiting with status '1'
This commit is contained in:
14
fetch
14
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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user