summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-10-17 17:35:46 +0100
committerSimon MacMullen <simon@rabbitmq.com>2014-10-17 17:35:46 +0100
commitca64918f95642f0b4c1a108528d64166f3cf86b7 (patch)
tree04058893dc58c68ac0699a40292469a45ff5ddb3
parent383a64375102048030863b00dbc6e19253f75e6d (diff)
downloadrabbitmq-server-git-ca64918f95642f0b4c1a108528d64166f3cf86b7.tar.gz
Fix plugin activation on Windows.
-rw-r--r--src/rabbit_plugins.erl6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rabbit_plugins.erl b/src/rabbit_plugins.erl
index 46e91e3556..f0df3b33b4 100644
--- a/src/rabbit_plugins.erl
+++ b/src/rabbit_plugins.erl
@@ -37,8 +37,10 @@
%%----------------------------------------------------------------------------
-ensure(FileJustChanged) ->
- {ok, OurFile} = application:get_env(rabbit, enabled_plugins_file),
+ensure(FileJustChanged0) ->
+ {ok, OurFile0} = application:get_env(rabbit, enabled_plugins_file),
+ FileJustChanged = filename:nativename(FileJustChanged0),
+ OurFile = filename:nativename(OurFile0),
case OurFile of
FileJustChanged ->
Enabled = read_enabled(OurFile),