1
0

Do not retry on success

This commit is contained in:
dump_stack() 2023-04-05 16:36:09 +00:00
parent 97fb543fef
commit 2d345c584b
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -767,6 +767,7 @@ func generateKernels(km config.KernelMask, registry string,
err = installKernel(km, pkg, force, headers)
if err == nil {
max--
break
} else if attempt >= retries {
log.Fatal().Err(err).Msg("install kernel")
} else {