diff options
author | Micah Anderson <micah@riseup.net> | 2005-12-27 17:37:31 +0000 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2005-12-27 17:37:31 +0000 |
commit | 603c015425c36977b13a73fec79c9fa9e857e358 (patch) | |
tree | ce9ca9dbde877ece6d0d33ae878c339a3f783ca3 /handlers/mysql | |
parent | 3b59f10fd327bcfe92285db302ab52e23c407eca (diff) | |
download | backupninja-603c015425c36977b13a73fec79c9fa9e857e358.tar.gz backupninja-603c015425c36977b13a73fec79c9fa9e857e358.tar.bz2 |
r218@um: micah | 2005-12-27 09:59:40 -0500
Changed some info output to debug
Diffstat (limited to 'handlers/mysql')
-rw-r--r-- | handlers/mysql | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/handlers/mysql b/handlers/mysql index 6fd5056..cb70104 100644 --- a/handlers/mysql +++ b/handlers/mysql @@ -35,7 +35,7 @@ fi # If needed, make sure that the specified vserver exists and is running. if [ $usevserver ] then - info "Examining vserver '$vsname'" + debug "Examining vserver '$vsname'" # does it exist ? vroot="$VROOTDIR/$vsname" [ -d $vroot ] || fatal "vserver '$vsname' does not exist at '$vroot'" @@ -60,7 +60,7 @@ else fatal "User $user not found in /etc/passwd" fi userhome="$vroot$userhome" - info "User home set to: $userhome" + debug "User home set to: $userhome" [ -f $userhome/.my.cnf ] || fatal "Can't find config file in $userhome/.my.cnf" else userhome=`getent passwd "$user" | awk -F: '{print $6}'` @@ -68,7 +68,7 @@ else then fatal "User $user not found in /etc/passwd" fi - info "User home set to: $userhome" + debug "User home set to: $userhome" [ -f $userhome/.my.cnf ] || fatal "Can't find config file in $userhome/.my.cnf" fi fi @@ -121,10 +121,10 @@ then then home=`$VSERVER $vsname exec getent passwd "root" | awk -F: '{print $6}'` home="$vroot$home" - info "Home set to: $home" + debug "Home set to: $home" else home=`getent passwd "root" | awk -F: '{print $6}'` - info "Home set to: $home" + debug "Home set to: $home" fi [ -d $home ] || fatal "Can't find root's home directory ($home)." mycnf="$home/.my.cnf" |