Exit with error
This commit is contained in:
parent
9dcc3387d2
commit
9cf1371366
@ -94,7 +94,7 @@ func main() {
|
||||
r.SetLogger(logger)
|
||||
if err := r.Record(params.Products...); err != nil {
|
||||
logger.Info("Error: %v", err)
|
||||
return
|
||||
os.Exit(3)
|
||||
}
|
||||
|
||||
defer ls.Close()
|
||||
|
Reference in New Issue
Block a user