Check iocage release exists before destroying it
In iocage before destroying a release, we should check if it exists or not and then destroy it. Right now we don't raise an appropriate exception for this case which indirectly implies that the specified release was destroyed as intended
root@freenas[~]# iocage destroy -f -r asdf asdf adsf Destroying RELEASE dataset: asdf Destroying RELEASE dataset: asdf Destroying RELEASE dataset: adsf
We risk breaking destroying of releases
This case should be verified that we raise an appropriate exception if illegal release is specified and it should be verified that releases are still destroyable.