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 e42670c commit ba3ef1fCopy full SHA for ba3ef1f
bin/v-add-letsencrypt-domain
@@ -67,7 +67,8 @@ check_args '2' "$#" 'USER DOMAIN [ALIASES] [MAIL]'
67
is_format_valid 'user' 'domain' 'aliases'
68
is_object_valid 'user' 'USER' "$user"
69
is_object_unsuspended 'user' 'USER' "$user"
70
-if [ -z "$mail" ]; then
+if [[ -z "${mail// }" ]] || [ "$mail" = 'no' ]; then
71
+ mail=''
72
is_system_enabled "$WEB_SYSTEM" 'WEB_SYSTEM'
73
is_object_valid 'web' 'DOMAIN' "$domain"
74
is_object_unsuspended 'web' 'DOMAIN' "$domain"
0 commit comments