Deactivation before activation should not return as non-zero (fixes #116)

This commit is contained in:
Yamashita, Yuu
2015-11-26 09:15:02 +00:00
parent aea9eda680
commit aae07d1318
3 changed files with 65 additions and 39 deletions

View File

@@ -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