Skip to content

Commit

Permalink
Abort when no Pythons are found
Browse files Browse the repository at this point in the history
It seems ill-advised to continue without setting the LE_PYTHON variable, when the very next command tries to use it.
  • Loading branch information
mgedmin committed Dec 8, 2015
1 parent 3838ea4 commit 73878f2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions letsencrypt-auto
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ DeterminePythonVersion() {
export LE_PYTHON=${LE_PYTHON:-python}
else
echo "Cannot find any Pythons... please install one!"
exit 1
fi

PYVER=`$LE_PYTHON --version 2>&1 | cut -d" " -f 2 | cut -d. -f1,2 | sed 's/\.//'`
Expand Down

0 comments on commit 73878f2

Please sign in to comment.