|
@@ -165,11 +165,13 @@ function nginx_keybase {
|
165
|
165
|
function test_domain_name {
|
166
|
166
|
if [ $1 ]; then
|
167
|
167
|
TEST_DOMAIN_NAME=$1
|
168
|
|
- function_check validate_domain_name
|
169
|
|
- validate_domain_name
|
170
|
|
- if [[ $TEST_DOMAIN_NAME != $1 && $TEST_DOMAIN_NAME != 'ttrss' ]]; then
|
171
|
|
- echo $"Invalid domain name $TEST_DOMAIN_NAME"
|
172
|
|
- exit 8528
|
|
168
|
+ if [[ $TEST_DOMAIN_NAME != 'ttrss' ]]; then
|
|
169
|
+ function_check validate_domain_name
|
|
170
|
+ validate_domain_name
|
|
171
|
+ if [[ $TEST_DOMAIN_NAME != $1 ]]; then
|
|
172
|
+ echo $"Invalid domain name $TEST_DOMAIN_NAME"
|
|
173
|
+ exit 8528
|
|
174
|
+ fi
|
173
|
175
|
fi
|
174
|
176
|
fi
|
175
|
177
|
}
|