Skip to content

Commit cb24e4f

Browse files
committed
Return control to pyenv-uninstall in uninstall/envs.bash
Fixes #320
1 parent 294f64f commit cb24e4f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

etc/pyenv.d/uninstall/envs.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ if [ -n "${DEFINITION}" ]; then
1515
REAL_DEFINITION="${REAL_PREFIX#${PYENV_ROOT}/versions/}"
1616
if [[ "${REAL_DEFINITION}" != "${REAL_DEFINITION%/envs/*}" ]]; then
1717
# Uninstall virtualenv by short name
18-
exec pyenv-virtualenv-delete ${FORCE+-f} "${REAL_DEFINITION}"
19-
exit 128
18+
pyenv-virtualenv-delete ${FORCE+-f} "${REAL_DEFINITION}"
19+
FORCE=t
2020
fi
2121
else
2222
# Uninstall all virtualenvs inside `envs` directory too

0 commit comments

Comments
 (0)