diff --git a/cmd/telegraf/telegraf.go b/cmd/telegraf/telegraf.go index dcc8f29fa..3678387cd 100644 --- a/cmd/telegraf/telegraf.go +++ b/cmd/telegraf/telegraf.go @@ -103,7 +103,7 @@ func reloadLoop( }() err := runAgent(ctx, inputFilters, outputFilters) - if err != nil { + if err != nil && err != context.Canceled { log.Fatalf("E! [telegraf] Error running agent: %v", err) } }