diff options
Diffstat (limited to 'cmd/silentct-mon/main.go')
-rw-r--r-- | cmd/silentct-mon/main.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/silentct-mon/main.go b/cmd/silentct-mon/main.go index ce0a548..24a4d03 100644 --- a/cmd/silentct-mon/main.go +++ b/cmd/silentct-mon/main.go @@ -5,7 +5,6 @@ import ( "errors" "flag" "fmt" - "log" "net/http" "os" "os/signal" @@ -229,7 +228,7 @@ func main() { defer wg.Wait() defer cancel() if err := mgr.Run(ctx); err != nil { - log.Fatalf("manager: %v\n", err) + cfg.log.Fatalf("manager: %v\n", err) return 1 } return 0 |