diff options
Diffstat (limited to 'doc/tmpltohtml.go')
| -rw-r--r-- | doc/tmpltohtml.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tmpltohtml.go b/doc/tmpltohtml.go index 0a509d90b..f4d2e2c2c 100644 --- a/doc/tmpltohtml.go +++ b/doc/tmpltohtml.go @@ -46,7 +46,7 @@ func main() { // Read and parse the input. name := flag.Args()[0] tmpl := template.New(name).Funcs(template.FuncMap{"code": code}) - if err := tmpl.ParseFile(name); err != nil { + if _, err := tmpl.ParseFile(name); err != nil { log.Fatal(err) } |
