From 521d625aace474375d73b30fb24d0cd09244b7c3 Mon Sep 17 00:00:00 2001 From: Daniel Wagner-Hall Date: Mon, 14 Sep 2015 11:06:57 +0100 Subject: [PATCH] Fix typo --- scripts/speculator/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")