summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Watson <tim@rabbitmq.com>2014-02-17 13:57:20 +0000
committerTim Watson <tim@rabbitmq.com>2014-02-17 13:57:20 +0000
commitb2d03a73b533d905b939bfc95d2d51bafd096ad6 (patch)
tree6cfb949b13a4d5a8bac865af8c080bc590ba46ad
parent26a38dc95c6909a3cf8d268c831a619ec4ede9da (diff)
downloadrabbitmq-server-git-b2d03a73b533d905b939bfc95d2d51bafd096ad6.tar.gz
If you're going to catch, actually handle failures
-rw-r--r--src/rabbit_boot.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_boot.erl b/src/rabbit_boot.erl
index 8dc9bff521..d2dca2a4d8 100644
--- a/src/rabbit_boot.erl
+++ b/src/rabbit_boot.erl
@@ -286,7 +286,7 @@ run_boot_step({_, StepName, Attributes}) ->
case catch already_run(StepName) of
false -> ok = run_step_name(Attributes, mfa),
mark_complete(StepName);
- true -> ok
+ _ -> ok
end,
ok.