Fix bootstrap-haskell prompts when no shell is detected

This commit is contained in:
Julian Ospald 2021-08-21 14:28:31 +02:00
parent 608ee07940
commit 1701b8a2f4
Signed by: hasufell
GPG Key ID: 3786C5262ECB4A3F
1 changed files with 2 additions and 0 deletions

View File

@ -275,6 +275,8 @@ find_shell() {
ask_bashrc() {
if [ -n "${BOOTSTRAP_HASKELL_ADJUST_BASHRC}" ] ; then
return 1
elif [ -z "${MY_SHELL}" ] ; then
return 0
fi
while true; do