Skip to content

Commit

Permalink
Return control to pyenv-uninstall in uninstall/envs.bash
Browse files Browse the repository at this point in the history
Fixes #320
  • Loading branch information
aiguofer committed Jul 21, 2019
1 parent 294f64f commit cb24e4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/pyenv.d/uninstall/envs.bash
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ if [ -n "${DEFINITION}" ]; then
REAL_DEFINITION="${REAL_PREFIX#${PYENV_ROOT}/versions/}"
if [[ "${REAL_DEFINITION}" != "${REAL_DEFINITION%/envs/*}" ]]; then
# Uninstall virtualenv by short name
exec pyenv-virtualenv-delete ${FORCE+-f} "${REAL_DEFINITION}"
exit 128
pyenv-virtualenv-delete ${FORCE+-f} "${REAL_DEFINITION}"
FORCE=t
fi
else
# Uninstall all virtualenvs inside `envs` directory too
Expand Down

0 comments on commit cb24e4f

Please sign in to comment.