Skip to content

Commit

Permalink
Some code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchellh committed Feb 8, 2012
1 parent 0095307 commit 6f45cdc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/vagrant/hosts/gentoo.rb
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
require 'pathname'

module Vagrant
module Hosts
class Gentoo < Linux
def self.match?
release_file = Pathname.new("/etc/gentoo-release")

return release_file.exist?
return File.exists?("/etc/gentoo-release")
end

# Normal, mid-range precedence.
Expand Down

0 comments on commit 6f45cdc

Please sign in to comment.