diff options
| author | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-10-30 12:21:44 +0100 |
|---|---|---|
| committer | Jean-Sébastien Pédron <jean-sebastien@rabbitmq.com> | 2015-10-30 12:21:44 +0100 |
| commit | 561333bd0e1ddf71ab18295d5027d51c873a1100 (patch) | |
| tree | 9473d8378a2d2cf42513c45da2fa6d8e67608a3c /scripts/rabbitmq-plugins.bat | |
| parent | 3ab1f8d196dd61e12098b1fbfd32320f82137c91 (diff) | |
| download | rabbitmq-server-git-561333bd0e1ddf71ab18295d5027d51c873a1100.tar.gz | |
rabbitmq-plugins: Don't query rabbitmqctl if env vars are explicitly set
So if RABBITMQ_PLUGINS_DIR is explicitely set in the environment, do not
run rabbitmqctl. Likewise for RABBITMQ_ENABLED_PLUGINS_FILE.
This prevents rabbitmq-plugins from taking configuration from a running
unrelated node, when it is started from `make run-broker`. The make
command will still fail later but for the correct reason: there is
already a node conflicting with the one we want to start.
Without this, `make run-broker` would abort with the following error:
Error: {cannot_write_enabled_plugins_file,
"./sbin/../etc/rabbitmq/enabled_plugins",enoent}
... which doesn't make any sense.
Diffstat (limited to 'scripts/rabbitmq-plugins.bat')
0 files changed, 0 insertions, 0 deletions
