From 3aa3fdd51d4ef069744e54862704d687a50279bf Mon Sep 17 00:00:00 2001 From: blakeflei Date: Thu, 7 Nov 2024 08:56:06 -0500 Subject: [PATCH] add second parentheses --- openvpn-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvpn-install.sh b/openvpn-install.sh index 34c360fa..78074005 100644 --- a/openvpn-install.sh +++ b/openvpn-install.sh @@ -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."