mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-14 06:23:52 -05:00
Deactivation before activation should not return as non-zero (fixes #116)
This commit is contained in:
@@ -128,7 +128,7 @@ if [ -z "$PYENV_VIRTUALENV_INIT" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
pyenv-sh-deactivate --quiet ${VERBOSE+--verbose} || true
|
||||
pyenv-sh-deactivate --force --quiet ${VERBOSE+--verbose} || true
|
||||
|
||||
echo "pyenv-virtualenv: activate ${venv}" 1>&2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user