aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2005-12-27 17:36:07 +0000
committerMicah Anderson <micah@riseup.net>2005-12-27 17:36:07 +0000
commit0ad20d5ad0d413920c65d8bcf5f0b1738962ed7e (patch)
treefc5385d1691c7e2101b4294f16a4712000dff482
parent84d86d056f071b55391c5d1b2cf0a28318df6745 (diff)
downloadbackupninja-0ad20d5ad0d413920c65d8bcf5f0b1738962ed7e.tar.gz
backupninja-0ad20d5ad0d413920c65d8bcf5f0b1738962ed7e.tar.bz2
r212@um: micah | 2005-12-27 09:12:22 -0500
trivial code change
-rw-r--r--handlers/mysql3
1 files changed, 2 insertions, 1 deletions
diff --git a/handlers/mysql b/handlers/mysql
index 965b05e..b54ae95 100644
--- a/handlers/mysql
+++ b/handlers/mysql
@@ -107,7 +107,8 @@ then
fi
[ -d $home ] || fatal "Can't find root's home directory ($home)."
mycnf="$home/.my.cnf"
- if [ -f $mycnf ]; then
+ if [ -f $mycnf ]
+ then
# rename temporarily
tmpcnf="$home/my.cnf.disable"
debug "mv $mycnf $tmpcnf"