diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-08-11 14:40:24 +0200 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-08-11 14:40:24 +0200 |
| commit | 699ce52eb0fc88bfa89e8f7162e402b07649398f (patch) | |
| tree | c86db36cdf230c2aa003be0fe5cac07e62cd7eef /Makefile | |
| parent | d75793e97618c9d187175c7500deefb64953c058 (diff) | |
| download | rabbitmq-server-git-699ce52eb0fc88bfa89e8f7162e402b07649398f.tar.gz | |
make stop-node: Stop the node synchronously
... ie. wait for the process to actually exit.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -270,7 +270,11 @@ clear-resource-alarm: all $(ERL_CALL) stop-node: - -$(ERL_CALL) -q + -( \ + pid=$$(./scripts/rabbitmqctl -n $(RABBITMQ_NODENAME) eval 'os:getpid().') && \ + $(ERL_CALL) -q && \ + while ps -p $$pid >/dev/null 2>&1; do sleep 1; done \ + ) # code coverage will be created for subdirectory "ebin" of COVER_DIR COVER_DIR=. |
