File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ is_object_valid 'mail' 'DOMAIN' "$domain"
6060is_object_unsuspended ' mail' ' DOMAIN' " $domain "
6161is_object_value_empty ' mail' ' DOMAIN' " $domain " ' $SSL'
6262if [ -n " $restart " ]; then
63- is_restart_valid ' restart' " $restart "
63+ is_restart_format_valid ' restart' " $restart "
6464fi
6565
6666is_web_domain_cert_valid
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ is_object_valid 'web' 'DOMAIN' "$domain"
5959is_object_unsuspended ' web' ' DOMAIN' " $domain "
6060is_object_value_empty ' web' ' DOMAIN' " $domain " ' $SSL'
6161if [ -n " $restart " ]; then
62- is_restart_valid ' restart' " $restart "
62+ is_restart_format_valid ' restart' " $restart "
6363fi
6464is_web_domain_cert_valid
6565
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ check_args '2' "$#" 'IP NAT_IP [RESTART]'
3333is_format_valid ' ip'
3434is_format_valid ' nat_ip'
3535is_ip_valid " $ip "
36- is_restart_valid " $restart "
36+ is_restart_format_valid " $restart "
3737
3838# Perform verification if read-only mode is enabled
3939check_hestia_demo_mode
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ restart=${2-yes}
2929
3030check_args ' 1' " $# " ' ALIAS [RESTART]'
3131is_common_format_valid " $NEW_ALIAS " " Alias"
32- is_restart_valid " $restart "
32+ is_restart_format_valid " $restart "
3333
3434# Perform verification if read-only mode is enabled
3535check_hestia_demo_mode
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ is_object_valid 'web' 'DOMAIN' "$domain"
4646is_object_unsuspended ' web' ' DOMAIN' " $domain "
4747is_object_value_exist ' web' ' DOMAIN' " $domain " ' $SSL'
4848if [ -n " $restart " ]; then
49- is_restart_valid ' restart' " $restart "
49+ is_restart_format_valid ' restart' " $restart "
5050fi
5151is_web_domain_cert_valid
5252
You can’t perform that action at this time.
0 commit comments