mirror of https://github.com/apache/activemq.git
https://issues.apache.org/activemq/browse/AMQ-3050 - return value for activemq stop command
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1038539 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
21664a9609
commit
ad6cb20044
|
@ -371,7 +371,8 @@ invokeJar(){
|
|||
$ACTIVEMQ_CYGWIN \
|
||||
-jar \"${ACTIVEMQ_HOME}/bin/run.jar\" $COMMANDLINE_ARGS --pid $PID &
|
||||
RET=\"\$?\"; APID=\"\$!\";
|
||||
echo \$APID > $ACTIVEMQ_DATA_DIR/stop.pid" $DOIT_POSTFIX
|
||||
echo \$APID > $ACTIVEMQ_DATA_DIR/stop.pid; exit \$RET" $DOIT_POSTFIX
|
||||
RET="$?"
|
||||
else
|
||||
$DOIT_PREFIX "$JAVACMD $ACTIVEMQ_OPTS $ACTIVEMQ_DEBUG_OPTS \
|
||||
-Dactivemq.classpath=\"${ACTIVEMQ_CLASSPATH}\" \
|
||||
|
|
Loading…
Reference in New Issue