From d8471e5b4baa088db9cdc22a5b56e3f01186f542 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Mon, 27 Mar 2023 02:10:49 +0200 Subject: [PATCH] solved typos --- docker-volume-recover.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-volume-recover.sh b/docker-volume-recover.sh index 55c47f7..bbee145 100644 --- a/docker-volume-recover.sh +++ b/docker-volume-recover.sh @@ -20,7 +20,7 @@ fi if [ -f "$backup_sql" ]; then echo "recover mysql dump" - cat $backup_sql | docker exec -i "$container" '/usr/bin/mysql -u root --password="'$mysql_root_password'" "'$database'"' + cat $backup_sql | docker exec -i "$container" /usr/bin/mysql -u root --password="$mysql_root_password" $database exit 0 else if [ -d "$backup_files" ]; then