summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_policy.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_policy.erl b/src/rabbit_policy.erl
index c297834689..a66f353b3f 100644
--- a/src/rabbit_policy.erl
+++ b/src/rabbit_policy.erl
@@ -245,7 +245,7 @@ update_policies(VHost) ->
{'EXIT', Exit} ->
exit(Exit);
{error, {no_such_vhost, _}} ->
- ok; %% [2]
+ {[], []}; %% [2]
Policies ->
{[update_exchange(X, Policies) ||
X <- rabbit_exchange:list(VHost)],