diff --git a/shell-integration/ssh/bootstrap.sh b/shell-integration/ssh/bootstrap.sh index f5525c8e1..b246bfe4d 100644 --- a/shell-integration/ssh/bootstrap.sh +++ b/shell-integration/ssh/bootstrap.sh @@ -21,7 +21,7 @@ detect_python() { python=$(command -v python3) if [ -z "$python" ]; then python=$(command -v python2); fi if [ -z "$python" ]; then python=$(command -v python); fi - if [ -z "$python" -o ! -x "$python" ]; then return 1; fi + if [ -z "$python" -o ! -x "$python" ]; then python=""; return 1; fi return 0 }