mysql tried to remove a tmpfile that didn't exist, fixed check for this

This commit is contained in:
Micah Anderson 2006-03-07 18:40:08 +00:00
parent d568f305fd
commit c8ebca79ad
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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"