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
commit3a0481329c8df9c0d9ff9d04845c39ea6dca11f5 (patch)
tree04058893dc58c68ac0699a40292469a45ff5ddb3
parent5198e99b0e697ae022abfacdaf2fcf4808a9ff19 (diff)
downloadrabbitmq-server-3a0481329c8df9c0d9ff9d04845c39ea6dca11f5.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 46e91e35..f0df3b33 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),