From e9faf4368ca0fe92fb6f4289943da20ce83fe18b Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 13 Jan 2018 00:14:12 +0100 Subject: [PATCH] Load the toml file from the current directory by default --- dnscrypt-proxy/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscrypt-proxy/config.go b/dnscrypt-proxy/config.go index 2ca3b00c..de4d6c3c 100644 --- a/dnscrypt-proxy/config.go +++ b/dnscrypt-proxy/config.go @@ -49,7 +49,7 @@ type ServerConfig struct { } func ConfigLoad(proxy *Proxy, config_file string) error { - configFile := flag.String("config", "/etc/dnscrypt-proxy/dnscrypt-proxy.toml", "path to the configuration file") + configFile := flag.String("config", "dnscrypt-proxy.toml", "path to the configuration file") flag.Parse() config := newConfig() if _, err := toml.DecodeFile(*configFile, &config); err != nil {