From cbbea37b0ccff290a634d13560173fcf8b2e584d Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 7 Mar 2022 19:37:30 +0530 Subject: [PATCH] ... --- shell-integration/ssh/bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }