Skip to content
Snippets Groups Projects
Commit 8b441b16 authored by micah's avatar micah :speech_balloon:
Browse files

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
parent 5e2e9196
Branches
Tags
No related merge requests found
......@@ -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."
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment