Skip to content

Commit

Permalink
fix sudo issue on amazon linux instance with letsencrypt-auto
Browse files Browse the repository at this point in the history
the letsencrypt-auto script was missing the sudo parameter on call to ExperimentalBootstrap for amazon linux. 
also added comment to mac entry to clarify why it lacks the parameter
  • Loading branch information
levskaya committed Dec 3, 2015
1 parent fe422cb commit 54c74a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions letsencrypt-auto
Original file line number Diff line number Diff line change
Expand Up @@ -147,9 +147,9 @@ then
elif uname | grep -iq FreeBSD ; then
ExperimentalBootstrap "FreeBSD" freebsd.sh "$SUDO"
elif uname | grep -iq Darwin ; then
ExperimentalBootstrap "Mac OS X" mac.sh
ExperimentalBootstrap "Mac OS X" mac.sh # homebrew doesn't normally run as root
elif grep -iq "Amazon Linux" /etc/issue ; then
ExperimentalBootstrap "Amazon Linux" _rpm_common.sh
ExperimentalBootstrap "Amazon Linux" _rpm_common.sh "$SUDO"
else
echo "Sorry, I don't know how to bootstrap Let's Encrypt on your operating system!"
echo
Expand Down

0 comments on commit 54c74a6

Please sign in to comment.