From d986b6714c96c91dd9b0f4207aefb919f5333b8f Mon Sep 17 00:00:00 2001 From: maride Date: Sat, 20 Jun 2020 10:38:21 +0200 Subject: [PATCH] Search for local fuzzers on every run, not only on first run --- watchdog/watchdog.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/watchdog/watchdog.go b/watchdog/watchdog.go index 11e899e..c33db6f 100644 --- a/watchdog/watchdog.go +++ b/watchdog/watchdog.go @@ -23,10 +23,10 @@ func RegisterWatchdogFlags() { // Watch over the specified directory, send updates to peers and re-scan after the specified amount of seconds func WatchFuzzers(outputDirectory string) { - localFuzzers := detectLocalFuzzers(outputDirectory) - // Loop forever for { + localFuzzers := detectLocalFuzzers(outputDirectory) + // Loop over local fuzzers for _, localFuzzDir := range localFuzzers { // Pack important parts of the fuzzer directory into a byte array