We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f0e7d0 commit 818bc35Copy full SHA for 818bc35
deps/rabbit_common/mk/rabbitmq-run.mk
@@ -323,6 +323,7 @@ start-background-broker: node-tmpdir $(DIST_TARGET)
323
$(BASIC_SCRIPT_ENV_SETTINGS) \
324
$(RABBITMQ_SERVER) \
325
$(REDIRECT_STDIO) &
326
+ trap 'test "$$?" = 0 || $(MAKE) stop-node' EXIT && \
327
echo rabbitmqctl wait && \
328
ERL_LIBS="$(DIST_ERL_LIBS)" \
329
$(RABBITMQCTL) -n $(RABBITMQ_NODENAME) wait --timeout $(RMQCTL_WAIT_TIMEOUT) $(RABBITMQ_PID_FILE) && \
0 commit comments