From 88223ae12378d6f351a38429e5d06e01e7441eb7 Mon Sep 17 00:00:00 2001 From: Code-Egg Date: Tue, 5 Nov 2024 21:46:58 +0800 Subject: [PATCH] modified: bin/container/domainctl.sh --- bin/container/domainctl.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/container/domainctl.sh b/bin/container/domainctl.sh index 75539ef..40e8b40 100755 --- a/bin/container/domainctl.sh +++ b/bin/container/domainctl.sh @@ -94,16 +94,16 @@ add_domain(){ if [ "${CK_RESULT}" != '' ]; then echo "# It appears the domain already exist! Check the ${LS_HTTPD_CONF} if you believe this is a mistake!" exit 1 - fi + fi + add_ls_domain elif [ "${LSV}" = 'openlitespeed' ]; then check_duplicate "member.*${DOMAIN}" ${OLS_HTTPD_CONF} if [ "${CK_RESULT}" != '' ]; then echo "# It appears the domain already exist! Check the ${OLS_HTTPD_CONF} if you believe this is a mistake!" exit 1 - fi - fi - add_ls_domain - add_ols_domain + fi + add_ols_domain + fi } del_ls_domain(){