Fix test for file

This commit is contained in:
Jose Diaz-Gonzalez
2014-12-11 01:36:36 -05:00
parent 976dc3009c
commit 4955f9c600

View File

@@ -22,7 +22,7 @@ restart_nginx () {
if [[ -n "$NO_VHOST" ]]; then
echo "-----> NO_VHOST config detected"
elif [[ -f "$DOKKU_ROOT/VHOST" ]]; then
elif [[ ! -f "$DOKKU_ROOT/$APP/VHOST" ]]; then
dokku domains:setup $APP
fi