aboutsummaryrefslogtreecommitdiffstats
path: root/syz-manager/manager.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-04-16 13:12:17 +0200
committerAleksandr Nogikh <nogikh@google.com>2025-04-17 07:56:35 +0000
commit552876f8f8f64b90e59c3ecc76806b04f4a30b1c (patch)
tree9ae9144e74decf173ace332b0b5bb35a2f170022 /syz-manager/manager.go
parenta95239b10464c498ac06b56698a6996643680b86 (diff)
syz-manager: ignore context.Canceled error on shutdown
These are perfectly normal since we are stopping all the functionality.
Diffstat (limited to 'syz-manager/manager.go')
-rw-r--r--syz-manager/manager.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/syz-manager/manager.go b/syz-manager/manager.go
index a8189e62f..20b815422 100644
--- a/syz-manager/manager.go
+++ b/syz-manager/manager.go
@@ -495,7 +495,7 @@ func reportReproError(err error) {
// The kernel could have crashed before we executed any programs.
log.Logf(0, "repro failed: %v", err)
return
- } else if errors.Is(err, repro.ErrNoVMs) {
+ } else if errors.Is(err, repro.ErrNoVMs) || errors.Is(err, context.Canceled) {
// This error is to be expected if we're shutting down.
if shutdown {
return