Skip to content

Commit

Permalink
add second parentheses
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeflei committed Nov 7, 2024
1 parent 207c6c9 commit 3aa3fdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openvpn-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function checkOS() {
if [[ $ID == "amzn" ]]; then
if [[ $VERSION_ID == "2" ]]; then
OS="amzn"
elif [ "$(echo $PRETTY_NAME | cut -c 1-19)" == "Amazon Linux 2023.6" ]; then
elif [[ "$(echo $PRETTY_NAME | cut -c 1-19)" == "Amazon Linux 2023.6" ]]; then
OS="amzn2023"
else
echo "⚠️ Your version of Amazon Linux is not supported."
Expand Down

0 comments on commit 3aa3fdd

Please sign in to comment.