git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1034329 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Bosanac Dejan 2010-11-12 10:09:26 +00:00
parent 5ce31fae87
commit 5db81fad9a
1 changed files with 3 additions and 1 deletions

View File

@ -515,7 +515,8 @@ invoke_stop(){
RET="$?" RET="$?"
echo -n "INFO: Waiting at least $ACTIVEMQ_KILL_MAXSECONDS seconds for regular process termination of pid '$(cat $ACTIVEMQ_PIDFILE)' : " echo -n "INFO: Waiting at least $ACTIVEMQ_KILL_MAXSECONDS seconds for regular process termination of pid '$(cat $ACTIVEMQ_PIDFILE)' : "
FOUND="0" FOUND="0"
for ((i=1; i <= ACTIVEMQ_KILL_MAXSECONDS ; i++));do i=1
while [ $i != $ACTIVEMQ_KILL_MAXSECONDS ]; do
if (! checkStopRunning);then if (! checkStopRunning);then
if (! checkRunning); then if (! checkRunning); then
@ -533,6 +534,7 @@ invoke_stop(){
FOUND="1" FOUND="1"
break break
fi fi
i=`expr $i + 1`
done done
if [ "$FOUND" -ne "1" ];then if [ "$FOUND" -ne "1" ];then
echo echo