From dc1c7eab81f3186f6d2acc29e4c383451d914238 Mon Sep 17 00:00:00 2001 From: Quentin McGaw Date: Thu, 9 Jul 2020 11:56:43 +0000 Subject: [PATCH] Fix #187 (silly me #2) --- cmd/gluetun/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/gluetun/main.go b/cmd/gluetun/main.go index 78142f68..e885a6c9 100644 --- a/cmd/gluetun/main.go +++ b/cmd/gluetun/main.go @@ -184,10 +184,10 @@ func _main(background context.Context, args []string) int { go shadowsocksLooper.Run(ctx, restartShadowsocks, wg) if allSettings.TinyProxy.Enabled { - <-restartTinyproxy + restartTinyproxy <- struct{}{} } if allSettings.ShadowSocks.Enabled { - <-restartShadowsocks + restartShadowsocks <- struct{}{} } go func() {