summary refs log tree commit diff stats
path: root/svc/periodic.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-12-08 02:21:10 -0500
committerBen Morrison <ben@gbmor.dev>2019-12-08 02:21:10 -0500
commit85f600064f5a3386be081653f1050066beee985b (patch)
treeac7a953e92b2d3d43a2cd2b887bfe08074f430ed /svc/periodic.go
parent4d7c4f51a35d893dea2f75933bff32c813512b91 (diff)
downloadgetwtxt-85f600064f5a3386be081653f1050066beee985b.tar.gz
closeLog channel now accepts struct{} instead of bool
Diffstat (limited to 'svc/periodic.go')
-rw-r--r--svc/periodic.go2
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()