Fix Syntax try 3

This commit is contained in:
Mike Reeves
2021-02-24 16:02:36 -05:00
parent ab66f175c5
commit ae17a3aeb8

View File

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