diff --git a/pkg/commands/custom.go b/pkg/commands/custom.go index 3ecb724b76d7..1241aad9622d 100644 --- a/pkg/commands/custom.go +++ b/pkg/commands/custom.go @@ -64,7 +64,7 @@ func (c *customCommand) runE(_ *cobra.Command, _ []string) error { defer func() { if os.Getenv(envKeepTempFiles) != "" { - log.Printf("WARN: The env var %s has been dectected: the temporary directory is preserved: %s", envKeepTempFiles, tmp) + log.Printf("WARN: The env var %s has been detected: the temporary directory is preserved: %s", envKeepTempFiles, tmp) return }