1
0

Check for shutdown before log current kernel

This commit is contained in:
dump_stack() 2023-04-07 21:03:31 +00:00
parent 841fd7f585
commit 21daac4fbc
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC

View File

@ -735,6 +735,10 @@ func generateKernels(km config.KernelMask, registry string,
break break
} }
if *shutdown {
err = nil
return
}
log.Info().Msgf("%d/%d %s", i+1, len(pkgs), pkg) log.Info().Msgf("%d/%d %s", i+1, len(pkgs), pkg)
var attempt int64 var attempt int64