Nothing to do just in case if OPERATION is CREATE

This commit is contained in:
2023-04-12 07:02:22 +00:00
parent 619551b14a
commit c7fd127613

View File

@@ -218,9 +218,8 @@ if [[ "$PUBLIC_PROXY_PATH" != "" && -z "$LOCATION" ]]; then
PUBLIC_IP=$(jq -r .LOCAL_NAME $PUBLIC_PROXY_PATH/$FILENAME 2>/dev/null) PUBLIC_IP=$(jq -r .LOCAL_NAME $PUBLIC_PROXY_PATH/$FILENAME 2>/dev/null)
fi; fi;
if [[ -f "$PUBLIC_PROXY_PATH/$FILENAME" && "$PUBLIC_DOMAIN" == "$DOMAIN" && "$PUBLIC_IP" == "$SOURCE_IP" ]]; then if [[ -f "$PUBLIC_PROXY_PATH/$FILENAME" && "$PUBLIC_DOMAIN" == "$DOMAIN" && "$PUBLIC_IP" == "$SOURCE_IP" && "$OPERATION" == "CREATE" ]]; then
echo "Nothing to do.";
echo "Nothing to do."
else else
#Create public proxy domain file #Create public proxy domain file