fix: not setting default dir if none is set
This commit is contained in:
parent
ac5d6e8ff6
commit
925308b2d4
@ -163,7 +163,7 @@ func init() {
|
||||
}
|
||||
|
||||
func initConfig() {
|
||||
if cfgDir != "" {
|
||||
if cfgDir == "" {
|
||||
cfgDir = "/etc/wireguard"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user