summaryrefslogtreecommitdiff
path: root/src/rabbit_binding.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rabbit_binding.erl')
-rw-r--r--src/rabbit_binding.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_binding.erl b/src/rabbit_binding.erl
index a0d4ad59..bb29580f 100644
--- a/src/rabbit_binding.erl
+++ b/src/rabbit_binding.erl
@@ -101,7 +101,7 @@ recover() ->
exists(Binding) ->
binding_action(
Binding,
- fun (_X, _Q, B) -> not(mnesia:read({rabbit_route, B}) == []) end).
+ fun (_X, _Q, B) -> mnesia:read({rabbit_route, B}) /= [] end).
add(Binding) -> add(Binding, fun (_X, _Q) -> ok end).