Fix bootstrap-haskell prompts when no shell is detected
This commit is contained in:
parent
608ee07940
commit
1701b8a2f4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user