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
This commit is contained in:
Micah Anderson 2005-12-27 17:35:42 +00:00
parent 5e2e9196bb
commit 8b441b16e5

View File

@ -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."