mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-10 04:42:31 +01:00
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:
parent
5e2e9196bb
commit
8b441b16e5
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user