tmatilai / vagrant-proxyconf

Vagrant plugin that configures the virtual machine to use proxies
MIT License
531 stars 74 forks source link

Don't fail if removing non-existing git proxy configuration #94

Closed tmatilai closed 9 years ago

tmatilai commented 9 years ago

Calling git config --unset-all for non-existing keys exits with non-zero exit code. We just ignore all the errors here.

Ref: https://github.com/tmatilai/vagrant-proxyconf/pull/93#issuecomment-65002589

otahi commented 9 years ago

@tmatilai Thank you for fixing.

I checked it and it works.