summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-08-08 09:53:59 +0100
committerSimon MacMullen <simon@rabbitmq.com>2012-08-08 09:53:59 +0100
commit2a37bc5af6a663724d2e1187e48299142a6798d2 (patch)
tree506cb806f5b4b74f1d2d96b571c11ee433110615
parent6c459693325c44d0b5a8a2adfa6d8afdbd3370f0 (diff)
downloadrabbitmq-server-2a37bc5af6a663724d2e1187e48299142a6798d2.tar.gz
Stop the clocks! Five and a half years into the RabbitMQ project, and Matthias committed something that broke the build.
(Fixed.)
-rw-r--r--src/rabbit_plugins.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rabbit_plugins.erl b/src/rabbit_plugins.erl
index 0d3dde8c..4b70a2a5 100644
--- a/src/rabbit_plugins.erl
+++ b/src/rabbit_plugins.erl
@@ -130,9 +130,9 @@ prepare_plugins(EnabledFile, PluginsDistDir, ExpandDir) ->
[ExpandDir, E]}})
end,
case filelib:ensure_dir(ExpandDir ++ "/") of
- ok -> ok;
- {error, E} -> throw({error, {cannot_create_plugins_expand_dir,
- [ExpandDir, E]}})
+ ok -> ok;
+ {error, E2} -> throw({error, {cannot_create_plugins_expand_dir,
+ [ExpandDir, E2]}})
end,
[prepare_plugin(Plugin, ExpandDir) || Plugin <- ToUnpackPlugins].