fixed typo

This commit is contained in:
Abdullah Adeel 2022-01-12 08:53:00 +05:00
parent 6c9757d5a3
commit 8d56a379dd

View File

@ -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