From 8d56a379dd27ba2e0fc01195b188ba8d8fb8d2fa Mon Sep 17 00:00:00 2001 From: Abdullah Adeel Date: Wed, 12 Jan 2022 08:53:00 +0500 Subject: [PATCH] fixed typo --- .../compose/production/mysql/maintenance/restore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.project_slug}}/compose/production/mysql/maintenance/restore b/{{cookiecutter.project_slug}}/compose/production/mysql/maintenance/restore index acbdcf55f..902f45381 100644 --- a/{{cookiecutter.project_slug}}/compose/production/mysql/maintenance/restore +++ b/{{cookiecutter.project_slug}}/compose/production/mysql/maintenance/restore @@ -32,7 +32,7 @@ fi message_welcome "Restoring the '${MYSQL_DATABASE}' database from the '${backup_filename}' backup..." -if [[ "${MYSQL}" == "root" ]]; then +if [[ "${MYSQL_USER}" == "root" ]]; then message_error "Restoring as 'mysql' user is not supported. Assign 'MYSQL_DATABASE' env with another one and try again." exit 1 fi