From 8f2c438c70b994de680656f0d4ff4c797676af56 Mon Sep 17 00:00:00 2001 From: Vladimir Bauer Date: Thu, 31 Oct 2019 16:08:56 +0500 Subject: [PATCH] avoid LoadConfig twice --- dnscrypt-proxy/main.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/dnscrypt-proxy/main.go b/dnscrypt-proxy/main.go index fc356cdc..db2ae8e8 100644 --- a/dnscrypt-proxy/main.go +++ b/dnscrypt-proxy/main.go @@ -101,9 +101,6 @@ func main() { dlog.Fatal(err) } } else { - if err := ConfigLoad(app.proxy, &flags); err != nil { - dlog.Fatal(err) - } app.signalWatch() app.Start(nil) }