aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2005-12-27 17:36:46 +0000
committerMicah Anderson <micah@riseup.net>2005-12-27 17:36:46 +0000
commit5d835a799c48227b3535caf1954db0ca8af70f45 (patch)
tree4876b4478c6a5ed6a185cb332188f2f867c74860
parent21b3955283639c57454541ffe3702c775da3004c (diff)
downloadbackupninja-5d835a799c48227b3535caf1954db0ca8af70f45.tar.gz
backupninja-5d835a799c48227b3535caf1954db0ca8af70f45.tar.bz2
r215@um: micah | 2005-12-27 09:40:23 -0500
Minor variable and documentation clean-up
-rw-r--r--handlers/mysql6
1 files changed, 3 insertions, 3 deletions
diff --git a/handlers/mysql b/handlers/mysql
index 9cf3c3d..0f5cd5c 100644
--- a/handlers/mysql
+++ b/handlers/mysql
@@ -59,7 +59,7 @@ else
then
fatal "User $user not found in /etc/passwd"
fi
- userhome="$VROOTDIR/$vsname$userhome"
+ userhome="$vroot$userhome"
info "User home set to: $userhome"
[ -f $userhome/.my.cnf ] || fatal "Can't find config file in $userhome/.my.cnf"
else
@@ -81,8 +81,8 @@ for i in $ignores; do
ignore="$ignore --ignore-table=$i"
done
-# create backup dirs, vroot variable will be empty if no vsname was specified
-# and will proceed to operate on the host
+# create backup dirs, $vroot will be empty if no vsname was specified
+# and we will instead proceed to operate on the host
[ -d $vroot$backupdir ] || mkdir -p $vroot$backupdir
[ -d $vroot$backupdir ] || fatal "Backup directory '$vroot$backupdir'"
hotdir="$backupdir/hotcopy"