X-Git-Url: https://git.stderr.nl/gitweb?a=blobdiff_plain;f=handlers%2Fmysql;h=ae54aae7f2a2c0500b8999e03e043009e6eb7768;hb=c8ebca79ad314975a4955bf42fe7705b0c20e9f3;hp=f89d8d724bccd00d6a401f0cd408cb740ab2f8c9;hpb=a8d99f1b1ea19e0dcd902b78dffd4c26603c93e1;p=matthijs%2Fupstream%2Fbackupninja.git diff --git a/handlers/mysql b/handlers/mysql index f89d8d7..ae54aae 100644 --- a/handlers/mysql +++ b/handlers/mysql @@ -277,7 +277,7 @@ fi fi # clean up tmp config file -if [ "$dbusername" != "" ] +if [ "$dbusername" != "" -a "$dbpassword" != "" ] then ## clean up tmp config file debug "rm $mycnf"