Some code cleanup

This commit is contained in:
Mitchell Hashimoto 2012-02-07 21:20:33 -08:00
parent 00953073e7
commit 6f45cdc1ed
1 changed files with 1 additions and 5 deletions

View File

@ -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.