From 3257bd25bb1bd2815ef91365134664815ec1033b Mon Sep 17 00:00:00 2001 From: Michael Stucki Date: Mon, 6 Jul 2015 18:12:25 +0200 Subject: [PATCH] Fix variable name --- lib/vagrant-lxc/action/gc_private_network_bridges.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant-lxc/action/gc_private_network_bridges.rb b/lib/vagrant-lxc/action/gc_private_network_bridges.rb index c6d358e..946283e 100644 --- a/lib/vagrant-lxc/action/gc_private_network_bridges.rb +++ b/lib/vagrant-lxc/action/gc_private_network_bridges.rb @@ -35,7 +35,7 @@ module Vagrant if ! driver.bridge_is_in_use?(bridge) env[:ui].info I18n.t("vagrant_lxc.messages.remove_bridge", name: bridge) - if bridge_name != "lxcbr0" + if bridge != "lxcbr0" driver.remove_bridge(bridge) end end