We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a59e25c commit 4d41d08Copy full SHA for 4d41d08
bin/v-change-mail-domain-sslcert
@@ -13,7 +13,8 @@
13
user=$1
14
domain=$2
15
domain_idn=$2
16
-restart=$3
+ssl_dir=$3
17
+restart=$4
18
19
# Includes
20
# shellcheck source=/etc/hestiacp/hestia.conf
@@ -40,7 +41,7 @@ is_object_valid 'user' 'USER' "$user"
40
41
is_object_unsuspended 'user' 'USER' "$user"
42
is_object_valid 'mail' 'DOMAIN' "$domain_idn"
43
is_object_unsuspended 'mail' 'DOMAIN' "$domain_idn"
-is_object_value_empty 'mail' 'DOMAIN' "$domain_idn" '$SSL'
44
+is_object_value_exist 'mail' 'DOMAIN' "$domain_idn" '$SSL'
45
is_web_domain_cert_valid
46
47
# Perform verification if read-only mode is enabled
0 commit comments