Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions efi/preinstall/checks.go
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,9 @@ func RunChecks(ctx context.Context, flags CheckFlags, loadedImages []secboot_efi
}

if len(deferredErrs) > 0 {
// If we are returning one or more error, then append any warnings
// to the returned errors as well.
deferredErrs = append(deferredErrs, warnings...)
return nil, joinErrors(deferredErrs...)
}

Expand Down
Loading
Loading