From 9e55d310ed1f9fcfc44abc70bb891fb46e67cc9b Mon Sep 17 00:00:00 2001 From: Anton Evangelatov Date: Sat, 19 May 2018 01:09:33 +0200 Subject: [PATCH] cmd/stateth: fix linter error --- cmd/stateth/stateth.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmd/stateth/stateth.go b/cmd/stateth/stateth.go index 976de3de84..43c1b8ec96 100644 --- a/cmd/stateth/stateth.go +++ b/cmd/stateth/stateth.go @@ -115,10 +115,7 @@ func main() { fmt.Println("waiting for SIGINT or SIGTERM (CTRL^C) to stop service and remove containers...") <-done - if err := cleanupContainers(c); err != nil { - return err - } - return nil + return cleanupContainers(c) } app.Run(os.Args)