aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@riseup.net>2005-12-27 17:35:42 +0000
committerMicah Anderson <micah@riseup.net>2005-12-27 17:35:42 +0000
commit8b441b16e54bb7a65f70794ab25b95fd4f18fba2 (patch)
tree2f19a04f9470301a24d1982893c2f6fd5a542f0b
parent5e2e9196bb1263361b38d3c513ae3c7321a489d8 (diff)
downloadbackupninja-8b441b16e54bb7a65f70794ab25b95fd4f18fba2.tar.gz
backupninja-8b441b16e54bb7a65f70794ab25b95fd4f18fba2.tar.bz2
r210@um: micah | 2005-12-27 08:38:07 -0500
Added -q to vserver-info test in mysql handler to quiet the test to see if it is running
-rw-r--r--handlers/mysql4
1 files changed, 2 insertions, 2 deletions
diff --git a/handlers/mysql b/handlers/mysql
index 55bfb25..cd2d491 100644
--- a/handlers/mysql
+++ b/handlers/mysql
@@ -51,12 +51,12 @@ fi
# If needed, make sure that the specified vserver exists and is running.
if [ $usevserver ]
then
- info "examining vserver '$vsname'"
+ info "Examining vserver '$vsname'"
# does it exist ?
vroot="$VROOTDIR/$vsname"
[ -d $vroot ] || fatal "vserver '$vsname' does not exist at '$vroot'"
# is it running ?
- $VSERVERINFO $vsname RUNNING
+ $VSERVERINFO -q $vsname RUNNING
if [ $? -ne 0 ]
then
fatal "vserver $vsname is not running."