From 8d05a58698e7f83a942e9a2bb2764f6c87b5133a Mon Sep 17 00:00:00 2001 From: Matthew Saunders Brown Date: Fri, 11 Mar 2022 08:50:19 -0800 Subject: [PATCH] database name fix --- bin/vhost-mysql-db-del.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/vhost-mysql-db-del.sh b/bin/vhost-mysql-db-del.sh index 0f70e70..126b900 100755 --- a/bin/vhost-mysql-db-del.sh +++ b/bin/vhost-mysql-db-del.sh @@ -28,7 +28,7 @@ if [[ -z $domain ]]; then fi # set database name -database=${virtualhost//./dot} +database=${domain//./dot} database=${database//-/dash} # drop database