diff --git a/Library/OcMainLib/OpenCoreKernel.c b/Library/OcMainLib/OpenCoreKernel.c index ce813f8a..3821b493 100644 --- a/Library/OcMainLib/OpenCoreKernel.c +++ b/Library/OcMainLib/OpenCoreKernel.c @@ -717,6 +717,8 @@ OcKernelInjectKexts ( ); Status = PrelinkedInjectComplete (Context); + } else { + Status = EFI_UNSUPPORTED; } if (EFI_ERROR (Status)) {