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

r208@um: micah | 2005-12-26 22:43:36 -0500

 Fixed mysql check to see if vserver is running
parent 429091fa
No related branches found
No related tags found
No related merge requests found
version 0.9.2 -- unreleased
fixed mysql check to see if vserver is running
fixed duplicity globbing support in include and exclude options
trac handler mkdir subdirectory problem fixed
fixed broken toint() causing backups not to run when set to "everyday"
......
......@@ -56,8 +56,11 @@ then
vroot="$VROOTDIR/$vsname"
[ -d $vroot ] || fatal "vserver '$vsname' does not exist at '$vroot'"
# is it running ?
running=`$VSERVERINFO $vsname RUNNING`
[ "$running" = "1" ] || fatal "vserver $vsname is not running."
$VSERVERINFO $vsname RUNNING
if [ $? -ne 0 ]
then
fatal "vserver $vsname is not running."
fi
fi
# create backup dirs, the vroot variable will be empty if no vsname was specified
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment