From: Alexander Barton Date: Fri, 30 Apr 2021 10:57:30 +0000 (+0200) Subject: install.sh: Correctly report an error when "zsh" is not found X-Git-Url: https://arthur.ath.cx/gitweb/?a=commitdiff_plain;h=c03966c8415de503eabf13fd27a1524a496119c9;p=ax-zsh.git install.sh: Correctly report an error when "zsh" is not found --- diff --git a/install.sh b/install.sh index 782e4cf..81811dd 100755 --- a/install.sh +++ b/install.sh @@ -90,6 +90,7 @@ if [ ! -d "$AXZSH/active_plugins" ]; then zsh "$AXZSH/bin/axzshctl" reset-plugins || abort else ax_msg 1 "Oops, \"zsh\" not found!?" + exit 1 fi else ax_msg - "Plugin directory \"$AXZSH/active_plugins\" already exists. Ok."