diff options
author | Ben Morrison <ben@gbmor.dev> | 2019-12-08 02:21:10 -0500 |
---|---|---|
committer | Ben Morrison <ben@gbmor.dev> | 2019-12-08 02:21:10 -0500 |
commit | 85f600064f5a3386be081653f1050066beee985b (patch) | |
tree | ac7a953e92b2d3d43a2cd2b887bfe08074f430ed /svc/periodic.go | |
parent | 4d7c4f51a35d893dea2f75933bff32c813512b91 (diff) | |
download | getwtxt-85f600064f5a3386be081653f1050066beee985b.tar.gz |
closeLog channel now accepts struct{} instead of bool
Diffstat (limited to 'svc/periodic.go')
-rw-r--r-- | svc/periodic.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svc/periodic.go b/svc/periodic.go index 2c08e46..9868d94 100644 --- a/svc/periodic.go +++ b/svc/periodic.go @@ -92,7 +92,7 @@ func reInit(e fsnotify.Event) { log.Printf("%v. Reloading...\n", e.String()) if !confObj.StdoutLogging { - closeLog <- true + closeLog <- struct{}{} } killTickers() |