summaryrefslogtreecommitdiff
path: root/bin-src/httpd.go
diff options
context:
space:
mode:
Diffstat (limited to 'bin-src/httpd.go')
-rw-r--r--bin-src/httpd.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/bin-src/httpd.go b/bin-src/httpd.go
index bf776d2..b92f782 100644
--- a/bin-src/httpd.go
+++ b/bin-src/httpd.go
@@ -26,12 +26,13 @@ func mainWithError() error {
return err
}
+ //nolint:gosec // FIXME
return http.Serve(listener, http.FileServer(http.Dir("public")))
}
func main() {
if err := mainWithError(); err != nil {
- fmt.Fprintf(os.Stderr, "%s: error: %v\n", os.Args[0], err)
+ _, _ = fmt.Fprintf(os.Stderr, "%s: error: %v\n", os.Args[0], err)
os.Exit(1)
}
}