remove LE_PYTHON

This commit is contained in:
Brad Warren 2018-01-08 18:18:49 -08:00
parent c98fa0e1f9
commit 042b57e048

View file

@ -47,8 +47,8 @@ if [ $RESULT -eq 0 ]; then
exit 1
fi
# Skip self upgrade due to LE_PYTHON value
if ! LE_PYTHON=nonexistant certbot/letsencrypt-auto-source/letsencrypt-auto 2>&1 | grep -q "WARNING: couldn't find Python"; then
# Skip self upgrade due to Python 3 not being available.
if ! certbot/letsencrypt-auto-source/letsencrypt-auto 2>&1 | grep -q "WARNING: couldn't find Python"; then
echo "Python upgrade failure warning not printed!"
exit 1
fi