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
No related branches found
No related tags found
No related merge requests found
...@@ -51,12 +51,12 @@ fi ...@@ -51,12 +51,12 @@ fi
# If needed, make sure that the specified vserver exists and is running. # If needed, make sure that the specified vserver exists and is running.
if [ $usevserver ] if [ $usevserver ]
then then
info "examining vserver '$vsname'" info "Examining vserver '$vsname'"
# does it exist ? # does it exist ?
vroot="$VROOTDIR/$vsname" vroot="$VROOTDIR/$vsname"
[ -d $vroot ] || fatal "vserver '$vsname' does not exist at '$vroot'" [ -d $vroot ] || fatal "vserver '$vsname' does not exist at '$vroot'"
# is it running ? # is it running ?
$VSERVERINFO $vsname RUNNING $VSERVERINFO -q $vsname RUNNING
if [ $? -ne 0 ] if [ $? -ne 0 ]
then then
fatal "vserver $vsname is not running." 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