hosts/bsd: proper NFS prune sed syntax

This commit is contained in:
Mitchell Hashimoto 2013-09-01 11:58:52 -07:00
parent b4d67d2e05
commit a6aa16dcad
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ module VagrantPlugins
# Use sed to just strip out the block of code which was inserted
# by Vagrant, and restart NFS.
system("sudo sed -e '/^# VAGRANT-BEGIN:\\( #{user}\\)\\? #{id}/,/^# VAGRANT-END:\\( #{user}\\)\\? #{id}/ d' -ibak /etc/exports")
system("sudo sed -E -e '/^# VAGRANT-BEGIN:( #{user})? #{id}/,/^# VAGRANT-END:( #{user})? #{id}/ d' -ibak /etc/exports")
end
end
end