Merge pull request #378 from anntnzrb/stderr-patch

Log errors to stderr
This commit is contained in:
Luke Smith 2021-08-24 10:49:57 -04:00 committed by GitHub
commit 672d1321a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,7 +23,7 @@ esac done
installpkg(){ pacman --noconfirm --needed -S "$1" >/dev/null 2>&1 ;}
error() { echo "ERROR: $1" ; exit 1;}
error() { printf "%s\n" "$1" >&2; exit 1; }
welcomemsg() { \
dialog --title "Welcome!" --msgbox "Welcome to Luke's Auto-Rice Bootstrapping Script!\\n\\nThis script will automatically install a fully-featured Linux desktop, which I use as my main machine.\\n\\n-Luke" 10 60