Skip to content

Commit 3aa3fdd

Browse files
committed
add second parentheses
1 parent 207c6c9 commit 3aa3fdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

openvpn-install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function checkOS() {
7777
if [[ $ID == "amzn" ]]; then
7878
if [[ $VERSION_ID == "2" ]]; then
7979
OS="amzn"
80-
elif [ "$(echo $PRETTY_NAME | cut -c 1-19)" == "Amazon Linux 2023.6" ]; then
80+
elif [[ "$(echo $PRETTY_NAME | cut -c 1-19)" == "Amazon Linux 2023.6" ]]; then
8181
OS="amzn2023"
8282
else
8383
echo "⚠️ Your version of Amazon Linux is not supported."

0 commit comments

Comments
 (0)