Skip to content

Commit

Permalink
Merge pull request #16 from lmeijvogel/master
Browse files Browse the repository at this point in the history
Really fix output for non-existent ifconfig
  • Loading branch information
sporkmonger committed Aug 15, 2012
2 parents fde6835 + 874853f commit f7bce81
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/uuidtools.rb
Expand Up @@ -556,7 +556,7 @@ def self.mac_address
if os_class == :windows
script_in_path = true
else
script_in_path = Kernel.system("which ifconfig 2&>1 > /dev/null")
script_in_path = Kernel.system("which ifconfig >/dev/null 2>&1")
end
if os_class == :solaris
begin
Expand Down

0 comments on commit f7bce81

Please sign in to comment.