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()
/a> 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188