So this is caused by the other bug because the cleanup function running as an exit trap only unmounts the root dataset, but not the boot one. I can fix that with the other change.
So this is caused by the other bug because the cleanup function running as an exit trap only unmounts the root dataset, but not the boot one. I can fix that with the other change.