Merge pull request #8740 from briancain/use-explicit-tee-path

Invoke tee from specific path
This commit is contained in:
Brian Cain 2017-06-30 14:37:00 -07:00 committed by GitHub
commit ec389cd80b
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ module VagrantPlugins
line = Vagrant::Util::ShellQuote.escape(line, "'")
system(
"echo '#{line}' | " +
"#{sudo_command}tee -a /etc/exports >/dev/null")
"#{sudo_command}/usr/bin/tee -a /etc/exports >/dev/null")
end
# We run restart here instead of "update" just in case nfsd