Skip to content

Instantly share code, notes, and snippets.

@signed8bit
Created November 10, 2017 01:15
Show Gist options
  • Save signed8bit/25e46bae7047bb827c59f837a82564f8 to your computer and use it in GitHub Desktop.
Save signed8bit/25e46bae7047bb827c59f837a82564f8 to your computer and use it in GitHub Desktop.
Debug Output: Vagrant destroy now returns exit status 1 when there was nothing to destroy
# vagrant --version
Vagrant 2.0.0
# vagrant destroy -f
==> vm1: VM not created. Moving on...
==> vm2: VM not created. Moving on...
# echo $?
0
# vagrant --version
Vagrant 2.0.1
# vagrant destroy -f
==> vm1: VM not created. Moving on...
==> vm2: VM not created. Moving on...
# echo $?
1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment