diff --git a/scripts/speculator/main.go b/scripts/speculator/main.go index ab88c84e..8d7500a7 100644 --- a/scripts/speculator/main.go +++ b/scripts/speculator/main.go @@ -259,7 +259,7 @@ func findHTMLDiffer() (string, error) { return "", err } differ := path.Join(wd, "htmldiff.pl") - if _, err := os.Stat(differ); err != nil { + if _, err := os.Stat(differ); err == nil { return differ, nil } return "", fmt.Errorf("unable to find htmldiff.pl")