Fix typos

This commit is contained in:
Luke Murphy 2020-03-15 13:11:35 +01:00
parent ba6c2ff2d4
commit 680d1179b4
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -22,7 +22,7 @@ setup_root_user() {
if [[ "${user_count}" == "0" ]]; then
echo "=====> Setting up root user for initial deployment"
if gitea admin create-user username "$ADMIN_USER" password "$ADMIN_PASS" email "$ADMIN_MAIL" admin; then
if gitea admin create-user --username "$ADMIN_USER" --password "$ADMIN_PASS" --email "$ADMIN_MAIL" --admin; then
echo "=====> root user added"
else
echo "=====> Failed to add root user"