diff --git a/lib/vagrant/hosts/bsd.rb b/lib/vagrant/hosts/bsd.rb index 91e8afd95..34122a3ad 100644 --- a/lib/vagrant/hosts/bsd.rb +++ b/lib/vagrant/hosts/bsd.rb @@ -5,7 +5,7 @@ module Vagrant include Util def nfs? - system("which nfsd") + system("which nfsd > /dev/null 2>&1") $?.to_i == 0 rescue TypeError false diff --git a/vagrant.gemspec b/vagrant.gemspec index 8e53c6df3..fb9323789 100644 --- a/vagrant.gemspec +++ b/vagrant.gemspec @@ -103,9 +103,7 @@ Gem::Specification.new do |s| "lib/vagrant/systems/base.rb", "lib/vagrant/systems/linux.rb", "lib/vagrant/util.rb", - "lib/vagrant/util/error_helper.rb", "lib/vagrant/util/glob_loader.rb", - "lib/vagrant/util/output_helper.rb", "lib/vagrant/util/plain_logger.rb", "lib/vagrant/util/platform.rb", "lib/vagrant/util/stacked_proc_runner.rb", @@ -189,8 +187,6 @@ Gem::Specification.new do |s| "test/vagrant/ssh_session_test.rb", "test/vagrant/ssh_test.rb", "test/vagrant/systems/linux_test.rb", - "test/vagrant/util/error_helper_test.rb", - "test/vagrant/util/output_helper_test.rb", "test/vagrant/util/plain_logger_test.rb", "test/vagrant/util/platform_test.rb", "test/vagrant/util/stacked_proc_runner_test.rb", @@ -273,8 +269,6 @@ Gem::Specification.new do |s| "test/vagrant/ssh_session_test.rb", "test/vagrant/ssh_test.rb", "test/vagrant/systems/linux_test.rb", - "test/vagrant/util/error_helper_test.rb", - "test/vagrant/util/output_helper_test.rb", "test/vagrant/util/plain_logger_test.rb", "test/vagrant/util/platform_test.rb", "test/vagrant/util/stacked_proc_runner_test.rb",