fix: not setting default dir if none is set

This commit is contained in:
Marvin Preuss 2022-02-07 15:17:44 +01:00
parent ac5d6e8ff6
commit 925308b2d4

View File

@ -163,7 +163,7 @@ func init() {
} }
func initConfig() { func initConfig() {
if cfgDir != "" { if cfgDir == "" {
cfgDir = "/etc/wireguard" cfgDir = "/etc/wireguard"
} }