mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-2453 - using printf instead fo echo
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1034377 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eb81c6ef1b
commit
40790f0e45
|
@ -513,7 +513,7 @@ invoke_stop(){
|
||||||
COMMANDLINE_ARGS="$COMMANDLINE_ARGS $ACTIVEMQ_SUNJMX_CONTROL"
|
COMMANDLINE_ARGS="$COMMANDLINE_ARGS $ACTIVEMQ_SUNJMX_CONTROL"
|
||||||
invokeJar "stop"
|
invokeJar "stop"
|
||||||
RET="$?"
|
RET="$?"
|
||||||
echo "INFO: Waiting at least $ACTIVEMQ_KILL_MAXSECONDS seconds for regular process termination of pid '$(cat $ACTIVEMQ_PIDFILE)' : \c"
|
echo "INFO: Waiting at least $ACTIVEMQ_KILL_MAXSECONDS seconds for regular process termination of pid '$(cat $ACTIVEMQ_PIDFILE)' : "
|
||||||
FOUND="0"
|
FOUND="0"
|
||||||
i=1
|
i=1
|
||||||
while [ $i != $ACTIVEMQ_KILL_MAXSECONDS ]; do
|
while [ $i != $ACTIVEMQ_KILL_MAXSECONDS ]; do
|
||||||
|
@ -528,7 +528,7 @@ invoke_stop(){
|
||||||
|
|
||||||
if (checkRunning);then
|
if (checkRunning);then
|
||||||
sleep 1
|
sleep 1
|
||||||
echo ".\c"
|
printf "."
|
||||||
else
|
else
|
||||||
echo " FINISHED"
|
echo " FINISHED"
|
||||||
FOUND="1"
|
FOUND="1"
|
||||||
|
|
Loading…
Reference in New Issue