diff --git a/larbs.sh b/larbs.sh index 410b748..663cd83 100644 --- a/larbs.sh +++ b/larbs.sh @@ -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