aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--syz-manager/manager.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/syz-manager/manager.go b/syz-manager/manager.go
index f888c4286..d262466e1 100644
--- a/syz-manager/manager.go
+++ b/syz-manager/manager.go
@@ -1037,7 +1037,7 @@ func (mgr *Manager) saveCrash(crash *Crash) bool {
} else {
// Don't store the crash locally, if we've successfully
// uploaded it to the dashboard. These will just eat disk space.
- return resp.NeedRepro
+ return mgr.cfg.Reproduce && resp.NeedRepro
}
}
@@ -1103,6 +1103,9 @@ func (mgr *Manager) needLocalRepro(crash *Crash) bool {
}
func (mgr *Manager) needRepro(crash *Crash) bool {
+ if !mgr.cfg.Reproduce {
+ return false
+ }
if crash.fromHub || crash.fromDashboard {
return true
}