Skip to content

Commit

Permalink
Update cmd/minikube/cmd/delete.go
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Powell <[email protected]>
  • Loading branch information
ComradeProgrammer and spowelljr authored Aug 30, 2024
1 parent 58cafc7 commit 0515343
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/minikube/cmd/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ func deleteKnownHosts() {
klog.Warningf("error reading machines in minikube home: %v", err)
return
}
if _, err := os.Stat(knownHosts); err == nil {
if _, err := os.Stat(knownHosts); err != nil {
klog.Warningf("no host files found when cleaning host files: %v", err)
return
}
Expand Down

0 comments on commit 0515343

Please sign in to comment.