From: micah Date: Tue, 7 Mar 2006 18:40:08 +0000 (+0000) Subject: mysql tried to remove a tmpfile that didn't exist, fixed check for this X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=4f4b9c49f297f973654fb926fcbfc657b6909d63;p=matthijs%2Fupstream%2Fbackupninja.git mysql tried to remove a tmpfile that didn't exist, fixed check for this git-svn-id: http://code.autistici.org/svn/backupninja/trunk@368 758a04ac-41e6-0310-8a23-8373a73cc35d --- diff --git a/ChangeLog b/ChangeLog index 99a7aef..aec8d97 100644 --- a/ChangeLog +++ b/ChangeLog @@ -3,6 +3,7 @@ version 0.9.4 -- unreleased mysql, pgsql, svn: fixed inversed vsname emptyness check mysql: . Fixed improper use of $vuserhome (Debian: #351083) + . Fixed erroneous removal of tmpfile when it didn't exit lib changes vserver: . init_vservers: fixed Debian bug #351083 (improper readlink syntax) 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"