mirror of
https://github.com/churchers/vm-bhyve.git
synced 2025-12-11 17:30:23 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user