cmd/revid-cli: removing fatal error if we get an error during run()

This commit is contained in:
Saxon 2019-03-02 13:46:43 +10:30
parent 8f2a1404be
commit 9d1d2914a4
1 changed files with 1 additions and 3 deletions

View File

@ -100,9 +100,7 @@ func main() {
return return
} }
if err := run(cfg); err != nil { run(cfg)
log.Log(logger.Fatal, pkg+"failed to run revid", "error", err.Error())
}
} }
// handleFlags parses command line flags and returns a revid configuration // handleFlags parses command line flags and returns a revid configuration