From ddb2700436a102cdc7102fb1ec8cab7176a527d1 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 5 Jan 2009 16:11:23 +0100 Subject: [PATCH] mysql: Create directories on the host. The previous commit broke the directory creation: It was prefixed with $vroot and also executed inside the vserver. --- handlers/mysql.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/handlers/mysql.in b/handlers/mysql.in index f79a0b2..316c109 100644 --- a/handlers/mysql.in +++ b/handlers/mysql.in @@ -66,8 +66,8 @@ fi hotdir="$backupdir/hotcopy" dumpdir="$backupdir/sqldump" -[ "$sqldump" == "no" -o -d $vroot$dumpdir ] || $vexec mkdir -p $vroot$dumpdir -[ "$hotcopy" == "no" -o -d $vroot$hotdir ] || $vexec mkdir -p $vroot$hotdir +[ "$sqldump" == "no" -o -d $vroot$dumpdir ] || mkdir -p $vroot$dumpdir +[ "$hotcopy" == "no" -o -d $vroot$hotdir ] || mkdir -p $vroot$hotdir ####################################################################### ## AUTHENTICATION -- 2.30.2