summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-08-27 15:16:47 +0100
committerSimon MacMullen <simon@rabbitmq.com>2010-08-27 15:16:47 +0100
commit7ccf8c04b3253b5107ec334925473aadd8060f90 (patch)
tree83376145ca27f75fa7d04648ed872b2706f01f9f /src
parent5c69dd834fb6a1f61fc444a9993621fc14ee199d (diff)
downloadrabbitmq-server-git-7ccf8c04b3253b5107ec334925473aadd8060f90.tar.gz
Call rabbit:prepare just before starting rabbit.
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_plugin_activator.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_plugin_activator.erl b/src/rabbit_plugin_activator.erl
index 435f96bac1..edec2ce1ce 100644
--- a/src/rabbit_plugin_activator.erl
+++ b/src/rabbit_plugin_activator.erl
@@ -265,8 +265,8 @@ post_process_script(ScriptFile) ->
{error, {failed_to_load_script, Reason}}
end.
-process_entry(Entry = {apply,{application,start_boot,[stdlib,permanent]}}) ->
- [Entry, {apply,{rabbit,prepare,[]}}];
+process_entry(Entry = {apply,{application,start_boot,[rabbit,permanent]}}) ->
+ [{apply,{rabbit,prepare,[]}}, Entry];
process_entry(Entry) ->
[Entry].