Check OS earlier in the script

This commit is contained in:
Dylan Araps 2016-08-19 10:05:45 +10:00
parent fa8a1e82ec
commit e25a48e1f8
1 changed files with 1 additions and 1 deletions

View File

@ -3009,9 +3009,9 @@ getargs() {
# Call Functions and Finish Up {{{
main() {
getos
getdefaultconfig 2>/dev/null
getargs "$@"
getos
# Restore cursor and clear screen on ctrl+c
trap 'printf "\033[?25h"; clear; exit' 2