X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fmysql;h=b54ae95daf7d771513487f7737e6485954c50f9d;hb=8e82b211728e35616164d2a3b11dc05bce44ad92;hp=965b05e9eb00b679f358865b1a5f294654ac5aed;hpb=036db2ee35b7d9afa4d3a06bd2c80382b7d1443b;p=matthijs%2Fupstream%2Fbackupninja-vserver.git diff --git a/handlers/mysql b/handlers/mysql index 965b05e..b54ae95 100644 --- a/handlers/mysql +++ b/handlers/mysql @@ -107,7 +107,8 @@ then fi [ -d $home ] || fatal "Can't find root's home directory ($home)." mycnf="$home/.my.cnf" - if [ -f $mycnf ]; then + if [ -f $mycnf ] + then # rename temporarily tmpcnf="$home/my.cnf.disable" debug "mv $mycnf $tmpcnf"