aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2006-03-07 18:40:08 +0000
committerMicah Anderson <micah@riseup.net>2006-03-07 18:40:08 +0000
commitc8ebca79ad314975a4955bf42fe7705b0c20e9f3 (patch)
tree554e9bceae2cafe82774cb449ad5724e8cd68919 /handlers
parentd568f305fd59d1894b5bafdcdcdb58d8ed077ec4 (diff)
downloadbackupninja-c8ebca79ad314975a4955bf42fe7705b0c20e9f3.tar.gz
backupninja-c8ebca79ad314975a4955bf42fe7705b0c20e9f3.tar.bz2
mysql tried to remove a tmpfile that didn't exist, fixed check for this
Diffstat (limited to 'handlers')
-rw-r--r--handlers/mysql2
1 files changed, 1 insertions, 1 deletions
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"