From: Micah Anderson Date: Tue, 27 Dec 2005 17:37:31 +0000 (+0000) Subject: r218@um: micah | 2005-12-27 09:59:40 -0500 X-Git-Tag: backupninja-0.9.2~20 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=603c015425c36977b13a73fec79c9fa9e857e358;p=matthijs%2Fupstream%2Fbackupninja.git r218@um: micah | 2005-12-27 09:59:40 -0500 Changed some info output to debug --- 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"