From fa6e27d3e3a6547e9843006f3ebcd49ec1a4f8fa Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Sat, 30 Jul 2022 23:06:21 -0500 Subject: [PATCH] exit: when dep cannot be installed --- install.bash | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.bash b/install.bash index 99b51ea..bfd7619 100644 --- a/install.bash +++ b/install.bash @@ -198,7 +198,8 @@ main() { log "info" "Checking script dependencies..." if ! check-script-deps; then - log "error" "Script dependencies failed, install missing dependencies and try again\n" + log "error" "Script dependencies failed, install missing dependencies and try again" + exit 1 fi log "info" "Script dependencies good" print-break