From 1701b8a2f4bd1b83a0b06ec350b9ba5ecb136088 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sat, 21 Aug 2021 14:28:31 +0200 Subject: [PATCH] Fix bootstrap-haskell prompts when no shell is detected --- bootstrap-haskell | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstrap-haskell b/bootstrap-haskell index 893a8f3..0a89e66 100755 --- a/bootstrap-haskell +++ b/bootstrap-haskell @@ -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