remove cache, it's not useful in practice

This commit is contained in:
Mikaël Cluseau
2025-07-01 22:20:58 +02:00
parent 5c91736202
commit 9ad7715a29
5 changed files with 20 additions and 101 deletions

View File

@ -83,7 +83,9 @@ func buildBootImgQemuConvert(out io.Writer, ctx *renderContext, format string) (
return
}()
defer os.Remove(imgPath)
if imgPath != "" {
defer os.Remove(imgPath)
}
if err != nil {
return