diff --git a/pandora/app/management/commands/init_db.py b/pandora/app/management/commands/init_db.py index bdfcc1070..1ef901091 100644 --- a/pandora/app/management/commands/init_db.py +++ b/pandora/app/management/commands/init_db.py @@ -12,7 +12,7 @@ def run(cmd): if p.returncode != 0: print stderr - sys.exit(r) + sys.exit(1) class Command(BaseCommand): """