mirror of
https://github.com/willnorris/imageproxy.git
synced 2024-12-30 22:34:18 -05:00
directly wrap ListenAndServe in log.Fatal call
This commit is contained in:
parent
8038795e8c
commit
9d4058ca58
1 changed files with 1 additions and 4 deletions
|
@ -103,8 +103,5 @@ func main() {
|
|||
}
|
||||
|
||||
fmt.Printf("imageproxy (version %v) listening on %s\n", VERSION, server.Addr)
|
||||
err := server.ListenAndServe()
|
||||
if err != nil {
|
||||
log.Fatal("ListenAndServe: ", err)
|
||||
}
|
||||
log.Fatal(server.ListenAndServe())
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue