X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Fmysql;fp=handlers%2Fmysql;h=68f4f3c6151934ada65b760624a51acaa9ee4d13;hp=3b82ddf99a048051e642884fc64b60129fc6a638;hb=24f803c9ac95ab1247992201274a94e38f0e2d8f;hpb=3e3589c842115e94e291164f038cad8f44a37efc diff --git a/handlers/mysql b/handlers/mysql index 3b82ddf..68f4f3c 100644 --- a/handlers/mysql +++ b/handlers/mysql @@ -136,7 +136,7 @@ EOF fi fi -# if a user is not set, use $confgfile, otherwise use $mycnf +# if a user is not set, use $configfile, otherwise use $mycnf if [ "$user" == "" ]; then user=root; defaultsfile="--defaults-file=$configfile"