diff --git a/src/interface/efi/efi_autoboot.c b/src/interface/efi/efi_autoboot.c index 33a780f5b..6e8f9df63 100644 --- a/src/interface/efi/efi_autoboot.c +++ b/src/interface/efi/efi_autoboot.c @@ -194,6 +194,9 @@ static int efi_load_autoexec ( EFI_HANDLE device ) { DBGC ( device, "EFI %s found %ls\n", efi_handle_name ( device ), name ); + /* Success */ + rc = 0; + err_read: if ( data ) bs->FreePool ( data );