mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	Fail to start if no configuration provided
This commit is contained in:
		
							parent
							
								
									7f94463332
								
							
						
					
					
						commit
						ff96740ac7
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
					@ -135,6 +135,7 @@ func main() {
 | 
				
			||||||
		if *getaddr || *getsnet {
 | 
							if *getaddr || *getsnet {
 | 
				
			||||||
			fmt.Println("\nError: You need to specify some config data using -useconf or -useconffile.")
 | 
								fmt.Println("\nError: You need to specify some config data using -useconf or -useconffile.")
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
							return
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	privateKey := ed25519.PrivateKey(cfg.PrivateKey)
 | 
						privateKey := ed25519.PrivateKey(cfg.PrivateKey)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue