diff --git a/bin/vhost-deploy.sh b/bin/vhost-deploy.sh index 6c05b62..f7f9514 100755 --- a/bin/vhost-deploy.sh +++ b/bin/vhost-deploy.sh @@ -41,6 +41,7 @@ done if [ ! -n "$virtualhost" ]; then echo "virtualhost not set" exit 1 +fi if ! vhost::validate_domain $virtualhost; then echo "ERROR: $virtualhost is not a valid domain name."