mirror of https://github.com/apache/activemq.git
provide the real exitcodes
provide the exitcode of the task to the user
This commit is contained in:
parent
ea5f4de399
commit
dd647f98a5
|
@ -589,10 +589,12 @@ case "$1" in
|
||||||
;;
|
;;
|
||||||
console)
|
console)
|
||||||
invoke_console
|
invoke_console
|
||||||
|
exit $?
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
invoke_stop
|
invoke_stop
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
invoke_task
|
invoke_task checkforrunning
|
||||||
|
exit $?
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue