Checking for NFS no longer outputs things

This commit is contained in:
Mitchell Hashimoto 2010-07-13 21:41:29 -07:00
parent 549fad0b91
commit 18d04e8aa3
2 changed files with 1 additions and 7 deletions

View File

@ -5,7 +5,7 @@ module Vagrant
include Util include Util
def nfs? def nfs?
system("which nfsd") system("which nfsd > /dev/null 2>&1")
$?.to_i == 0 $?.to_i == 0
rescue TypeError rescue TypeError
false false

View File

@ -103,9 +103,7 @@ Gem::Specification.new do |s|
"lib/vagrant/systems/base.rb", "lib/vagrant/systems/base.rb",
"lib/vagrant/systems/linux.rb", "lib/vagrant/systems/linux.rb",
"lib/vagrant/util.rb", "lib/vagrant/util.rb",
"lib/vagrant/util/error_helper.rb",
"lib/vagrant/util/glob_loader.rb", "lib/vagrant/util/glob_loader.rb",
"lib/vagrant/util/output_helper.rb",
"lib/vagrant/util/plain_logger.rb", "lib/vagrant/util/plain_logger.rb",
"lib/vagrant/util/platform.rb", "lib/vagrant/util/platform.rb",
"lib/vagrant/util/stacked_proc_runner.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_session_test.rb",
"test/vagrant/ssh_test.rb", "test/vagrant/ssh_test.rb",
"test/vagrant/systems/linux_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/plain_logger_test.rb",
"test/vagrant/util/platform_test.rb", "test/vagrant/util/platform_test.rb",
"test/vagrant/util/stacked_proc_runner_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_session_test.rb",
"test/vagrant/ssh_test.rb", "test/vagrant/ssh_test.rb",
"test/vagrant/systems/linux_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/plain_logger_test.rb",
"test/vagrant/util/platform_test.rb", "test/vagrant/util/platform_test.rb",
"test/vagrant/util/stacked_proc_runner_test.rb", "test/vagrant/util/stacked_proc_runner_test.rb",