Fixed typo

Closes #444
This commit is contained in:
System Void 2016-09-05 17:29:22 +01:00 committed by GitHub
commit 9b66c723b6

View file

@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# info: add web domain # info: add web domain
# options: USER DOMAIN [IP] [ALIASES] [PROXY_EXTENTIONS] [RESTART] # options: USER DOMAIN [IP] [ALIASES] [PROXY_EXTENSIONS] [RESTART]
# #
# The function adds virtual host to a server. In cases when ip is # The function adds virtual host to a server. In cases when ip is
# undefined in the script, "default" template will be used. The alias of # undefined in the script, "default" template will be used. The alias of
@ -55,7 +55,7 @@ source $VESTA/conf/vesta.conf
#----------------------------------------------------------# #----------------------------------------------------------#
is_system_enabled "$WEB_SYSTEM" 'WEB_SYSTEM' is_system_enabled "$WEB_SYSTEM" 'WEB_SYSTEM'
check_args '2' "$#" 'USER DOMAIN [IP] [RESTART] [ALIASES] [PROXY_EXTENTIONS]' check_args '2' "$#" 'USER DOMAIN [IP] [RESTART] [ALIASES] [PROXY_EXTENSIONS]'
is_format_valid 'user' 'domain' 'aliases' 'ip' 'proxy_ext' is_format_valid 'user' 'domain' 'aliases' 'ip' 'proxy_ext'
is_object_valid 'user' 'USER' "$user" is_object_valid 'user' 'USER' "$user"
is_object_unsuspended 'user' 'USER' "$user" is_object_unsuspended 'user' 'USER' "$user"