fix switch::remove status

Make sure the vm comand's exit status indicates success,
even if config::core::remove did not.
This commit is contained in:
Eric van Gyzen
2019-06-21 09:50:51 -05:00
parent c2027a4fd3
commit 415aba6cd9

View File

@@ -179,6 +179,10 @@ switch::remove(){
else
util::err "failed to remove virtual switch"
fi
# make sure the exit status indicates success,
# even if config::core::remove did not
return 0
}
# add a new interface to a switch