Commit f3f5ffb0 authored by Martin Juhas's avatar Martin Juhas
Browse files

fix: fix exec.sh script

No API changes
parent dadd69fa
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@ echo "INJECT: Booting up"
if [ "$(python manage.py showmigrations | wc -l)" -ne 0 ]; then
  echo "INJECT: Running missing migrations"
  python manage.py migrate
  if [ $? -ne 0 ]: then
  if [ $? -ne 0 ]; then
    echo "INJECT: Failed to apply migrations"
    exit 1
  fi