File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ uninstall_related_virtual_env() {
6
6
if [ -n " ${DEFINITION} " ]; then
7
7
if [[ " ${DEFINITION} " != " ${DEFINITION%/ envs/* } " ]]; then
8
8
# Uninstall virtualenv by long name
9
- exec pyenv-virtualenv-delete ${FORCE+-f} " ${DEFINITION} "
10
- exit 128
9
+ pyenv-virtualenv-delete ${FORCE+-f} " ${DEFINITION} "
11
10
else
12
11
VERSION_NAME=" ${VERSION_NAME:- ${DEFINITION##*/ } } "
13
12
PREFIX=" ${PREFIX:- ${PYENV_ROOT} / versions/ ${VERSION_NAME} } "
@@ -16,8 +15,7 @@ uninstall_related_virtual_env() {
16
15
REAL_DEFINITION=" ${REAL_PREFIX# ${PYENV_ROOT} / versions/ } "
17
16
if [[ " ${REAL_DEFINITION} " != " ${REAL_DEFINITION%/ envs/* } " ]]; then
18
17
# Uninstall virtualenv by short name
19
- exec pyenv-virtualenv-delete ${FORCE+-f} " ${REAL_DEFINITION} "
20
- exit 128
18
+ pyenv-virtualenv-delete ${FORCE+-f} " ${REAL_DEFINITION} "
21
19
fi
22
20
else
23
21
# Uninstall all virtualenvs inside `envs` directory too
You can’t perform that action at this time.
0 commit comments