From 98ef475e01954b15eb893fad3d7b5a4743ab8eff Mon Sep 17 00:00:00 2001 From: Ivan Pozdeev Date: Mon, 16 Dec 2024 00:36:43 +0300 Subject: [PATCH] Display "commmand not found" even when there are nonexistent versions --- libexec/pyenv-which | 1 - 1 file changed, 1 deletion(-) diff --git a/libexec/pyenv-which b/libexec/pyenv-which index 6f12761e..4f012596 100755 --- a/libexec/pyenv-which +++ b/libexec/pyenv-which @@ -96,7 +96,6 @@ else for version in "${nonexistent_versions[@]}"; do echo "pyenv: version \`$version' is not installed (set by $(pyenv-version-origin))" >&2 done - exit 1 fi echo "pyenv: $PYENV_COMMAND: command not found" >&2