diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2014-10-17 17:35:46 +0100 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2014-10-17 17:35:46 +0100 |
| commit | ca64918f95642f0b4c1a108528d64166f3cf86b7 (patch) | |
| tree | 04058893dc58c68ac0699a40292469a45ff5ddb3 | |
| parent | 383a64375102048030863b00dbc6e19253f75e6d (diff) | |
| download | rabbitmq-server-git-ca64918f95642f0b4c1a108528d64166f3cf86b7.tar.gz | |
Fix plugin activation on Windows.
| -rw-r--r-- | src/rabbit_plugins.erl | 6 |
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), |
