X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Fmysql;h=ae54aae7f2a2c0500b8999e03e043009e6eb7768;hp=f89d8d724bccd00d6a401f0cd408cb740ab2f8c9;hb=c8ebca79ad314975a4955bf42fe7705b0c20e9f3;hpb=d568f305fd59d1894b5bafdcdcdb58d8ed077ec4 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"