From 8f3ba7633c129baf850360db11ca369425fdea6e Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Wed, 24 Feb 2021 15:57:18 -0500 Subject: [PATCH] Fix Syntax --- setup/so-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/so-functions b/setup/so-functions index 68d4ed01f..9dd6bc1e7 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -751,7 +751,7 @@ check_sos_appliance() { } compare_main_nic_ip() { - if [[ "$MNIC" =~ tun || "$MNIC" =~ wg || "$MNIC" =~ vpn ]]; then + if [[ "$MNIC" =~ ^('tun'|'vpn'|'wg')$ ]]; then echo "This is a VPN" else if [[ "$MAINIP" != "$MNIC_IP" ]]; then