From 524d16a3010fa8e508a4321917ca2310bb2e294e Mon Sep 17 00:00:00 2001 From: Nicky Gerritsen Date: Fri, 27 Oct 2023 15:13:57 +0200 Subject: [PATCH] Fix dump --- provision-contest/ansible/roles/mysql_server/files/dump-db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/provision-contest/ansible/roles/mysql_server/files/dump-db b/provision-contest/ansible/roles/mysql_server/files/dump-db index 65c8e975..a7f2c39d 100644 --- a/provision-contest/ansible/roles/mysql_server/files/dump-db +++ b/provision-contest/ansible/roles/mysql_server/files/dump-db @@ -15,7 +15,7 @@ if [ -f "/home/domjudge/db-dumps/${1}.sql.gz" ]; then while true; do read -p "Overwrite existing database dump (y/N)? " yn case $yn in - [Yy]* ) create_database_dump $1; exit 0; + [Yy]* ) create_database_dump $1; exit 0;; ''|[Nn]* ) break;; esac done