mirror of
https://github.com/cwinfo/yggdrasil-go.git
synced 2024-12-22 18:45:40 +00:00
Fail to start if no configuration provided
This commit is contained in:
parent
7f94463332
commit
ff96740ac7
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user