From 9d1d2914a4d34e921f8b8210f441cb0f54c071bf Mon Sep 17 00:00:00 2001 From: Saxon Date: Sat, 2 Mar 2019 13:46:43 +1030 Subject: [PATCH] cmd/revid-cli: removing fatal error if we get an error during run() --- cmd/revid-cli/main.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cmd/revid-cli/main.go b/cmd/revid-cli/main.go index 056687de..da9f5e73 100644 --- a/cmd/revid-cli/main.go +++ b/cmd/revid-cli/main.go @@ -100,9 +100,7 @@ func main() { return } - if err := run(cfg); err != nil { - log.Log(logger.Fatal, pkg+"failed to run revid", "error", err.Error()) - } + run(cfg) } // handleFlags parses command line flags and returns a revid configuration