diff --git a/cmd/yggdrasil/main.go b/cmd/yggdrasil/main.go index 8de2c86..a770e4e 100644 --- a/cmd/yggdrasil/main.go +++ b/cmd/yggdrasil/main.go @@ -135,6 +135,7 @@ func main() { if *getaddr || *getsnet { fmt.Println("\nError: You need to specify some config data using -useconf or -useconffile.") } + return } privateKey := ed25519.PrivateKey(cfg.PrivateKey)