fix initadmin script

This commit is contained in:
virusdefender committed 2017-11-25 13:07:22 +08:00
1 parent cf40deb97c
commit 1f9eca8b7d
5 files changed
+45 -58

No files matched your search

+1 -1
View File
@@ -21,7 +21,7 @@ n=0
while [ $n -lt 5 ]
do
python manage.py migrate --no-input &&
python manage.py initinstall &&
python manage.py inituser --username=root --password=rootroot --action=create_super_admin &&
break
n=$(($n+1))
echo "Failed to migrate, going to retry..."