Skip to content

Commit 3f32394

Browse files
authored
FIx bug in v-add-web-domain-ssl (hestiacp#4835)
* FIx bug in v-add-web-domain-ssl * Change other locations * Use single quotes
1 parent ce6beed commit 3f32394

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bin/v-add-mail-domain-ssl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ is_object_valid 'mail' 'DOMAIN' "$domain"
6060
is_object_unsuspended 'mail' 'DOMAIN' "$domain"
6161
is_object_value_empty 'mail' 'DOMAIN' "$domain" '$SSL'
6262
if [ -n "$restart" ]; then
63-
is_restart_format_valid 'restart' "$restart"
63+
is_restart_format_valid "$restart" 'restart'
6464
fi
6565

6666
is_web_domain_cert_valid

bin/v-add-web-domain-ssl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ is_object_valid 'web' 'DOMAIN' "$domain"
5959
is_object_unsuspended 'web' 'DOMAIN' "$domain"
6060
is_object_value_empty 'web' 'DOMAIN' "$domain" '$SSL'
6161
if [ -n "$restart" ]; then
62-
is_restart_format_valid 'restart' "$restart"
62+
is_restart_format_valid "$restart" 'restart'
6363
fi
6464
is_web_domain_cert_valid
6565

bin/v-change-web-domain-sslcert

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ is_object_valid 'web' 'DOMAIN' "$domain"
4646
is_object_unsuspended 'web' 'DOMAIN' "$domain"
4747
is_object_value_exist 'web' 'DOMAIN' "$domain" '$SSL'
4848
if [ -n "$restart" ]; then
49-
is_restart_format_valid 'restart' "$restart"
49+
is_restart_format_valid "$restart" 'restart'
5050
fi
5151
is_web_domain_cert_valid
5252

0 commit comments

Comments
 (0)