mirror of
https://github.com/churchers/vm-bhyve.git
synced 2025-12-11 17:30:23 +01:00
Merge pull request #318 from vangyzen/switch-remove-success
fix switch::remove status
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