Merge pull request #8740 from briancain/use-explicit-tee-path
Invoke tee from specific path
This commit is contained in:
commit
ec389cd80b
|
@ -111,7 +111,7 @@ module VagrantPlugins
|
||||||
line = Vagrant::Util::ShellQuote.escape(line, "'")
|
line = Vagrant::Util::ShellQuote.escape(line, "'")
|
||||||
system(
|
system(
|
||||||
"echo '#{line}' | " +
|
"echo '#{line}' | " +
|
||||||
"#{sudo_command}tee -a /etc/exports >/dev/null")
|
"#{sudo_command}/usr/bin/tee -a /etc/exports >/dev/null")
|
||||||
end
|
end
|
||||||
|
|
||||||
# We run restart here instead of "update" just in case nfsd
|
# We run restart here instead of "update" just in case nfsd
|
||||||
|
|
Loading…
Reference in New Issue