initialize-database: Make management command errors fatal again.

We accidentally made this non-fatal when we added the nice error
output telling users to run postgres-init-db.
This commit is contained in:
Tim Abbott 2015-10-14 23:07:17 -04:00
parent bf694fa832
commit e75ba630fb
1 changed files with 1 additions and 0 deletions

View File

@ -17,6 +17,7 @@ if ! python manage.py initialize_voyager_db; then
echo " * scripts/setup/postgres-init-db # run as root to drop and re-create the database"
echo -e "\033[0m"
set -x
exit 1
fi
supervisorctl restart all