Skip to content

Commit 552876f

Browse files
committed
syz-manager: ignore context.Canceled error on shutdown
These are perfectly normal since we are stopping all the functionality.
1 parent a95239b commit 552876f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syz-manager/manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ func reportReproError(err error) {
495495
// The kernel could have crashed before we executed any programs.
496496
log.Logf(0, "repro failed: %v", err)
497497
return
498-
} else if errors.Is(err, repro.ErrNoVMs) {
498+
} else if errors.Is(err, repro.ErrNoVMs) || errors.Is(err, context.Canceled) {
499499
// This error is to be expected if we're shutting down.
500500
if shutdown {
501501
return

0 commit comments

Comments
 (0)