Skip to content

Commit

Permalink
Make sure ifconfig speaks English.
Browse files Browse the repository at this point in the history
  • Loading branch information
yasuhito committed Oct 21, 2015
1 parent 4fd760b commit 4ba8021
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/phut/virtual_link.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def maybe_stop
end

def up?
/^#{@device_a}\s+Link encap:Ethernet/ =~ `ifconfig -a` || false
/^#{@device_a}\s+Link encap:Ethernet/ =~ `LANG=C ifconfig -a` || false
end

def connect_to?(vswitch)
Expand Down

0 comments on commit 4ba8021

Please sign in to comment.