Skip to content
This repository has been archived by the owner on Dec 8, 2021. It is now read-only.

Commit

Permalink
cmd: do not exit(1) if failed to sync log (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
kennytm committed Aug 26, 2019
1 parent befa68a commit ab23466
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tidb-lightning/main.go
Expand Up @@ -66,7 +66,7 @@ func main() {
fmt.Fprintln(os.Stderr, "sync log failed", syncErr)
}

if err != nil || syncErr != nil {
if err != nil {
os.Exit(1)
}
}

0 comments on commit ab23466

Please sign in to comment.