Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
Demetrous-fd committed Oct 16, 2024
1 parent aed95cf commit db6a375
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,10 +112,6 @@ func main() {
certPath := filepath.Join(pwd, "certs")
_ = os.Mkdir(certPath, os.ModePerm)

if !*skipRootFlag {
installRootCertificates(certPath)
}

rootContainersFolder, err := getRootContainersFolder(certPath)
if err != nil {
code = 1
Expand Down Expand Up @@ -156,6 +152,10 @@ func main() {
return
}
} else {
if !*skipRootFlag {
installRootCertificates(certPath)
}

installESignatureFromFile(certPath, rootContainersFolder, *waitFlag, *containerExportableArg)
}
}

0 comments on commit db6a375

Please sign in to comment.