Cleanup for Pull Request

This commit is contained in:
Raman Nanda 2013-09-11 17:57:54 -04:00
parent 0c03ad18fc
commit 1566280061
1 changed files with 0 additions and 2 deletions

View File

@ -122,8 +122,6 @@ module VagrantPlugins
output.split("\n").each do |line| output.split("\n").each do |line|
line.gsub!('"', '\"') line.gsub!('"', '\"')
line.gsub!("'", "'\\\\''") line.gsub!("'", "'\\\\''")
# system(%Q[sudo su root -c "echo '#{line}' >> /etc/exports"])
# Update to Bypass Security Check
system(%Q[sudo -s -- "echo '#{line}' >> /etc/exports"]) system(%Q[sudo -s -- "echo '#{line}' >> /etc/exports"])
end end