Fix Syntax

This commit is contained in:
Mike Reeves
2021-02-24 16:01:18 -05:00
parent 8f3ba7633c
commit ab66f175c5

View File

@@ -751,7 +751,7 @@ check_sos_appliance() {
} }
compare_main_nic_ip() { compare_main_nic_ip() {
if [[ "$MNIC" =~ ^('tun'|'vpn'|'wg')$ ]]; then if [[ "$MNIC" == "tun*" ]] || if [[ "$MNIC" == "wg*" ]] || if [[ "$MNIC" == "vpn*" ]]; then
echo "This is a VPN" echo "This is a VPN"
else else
if [[ "$MAINIP" != "$MNIC_IP" ]]; then if [[ "$MAINIP" != "$MNIC_IP" ]]; then