From 5cbfad1a5ae67944de4c256b899125927751d198 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Wed, 19 Oct 2016 20:13:38 +0100 Subject: [PATCH] Don't consider the main domain --- src/freedombone-utils-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/freedombone-utils-config b/src/freedombone-utils-config index f6ba4142..118871ba 100755 --- a/src/freedombone-utils-config +++ b/src/freedombone-utils-config @@ -323,7 +323,7 @@ function check_domains { for d in "${domains_array[@]}" do domain_param=$(echo "$d" | awk -F '=' '{print $1}') - if [[ $domain_param != "DEFAULT_DOMAIN_NAME" ]]; then + if [[ "$domain_param" != "DEFAULT_DOMAIN_NAME" && "$domain_param" != "${PROJECT_NAME}.local" ]]; then domain_value=$(echo "$d" | awk -F '=' '{print $2}') item_in_array "${domain_value}" "${checked_domains[@]}" if [[ $? != 0 ]]; then