mirror of
				https://github.com/yggdrasil-network/yggdrasil-go.git
				synced 2025-11-04 03:05:07 +03:00 
			
		
		
		
	disable SIGHUP handling for now
This commit is contained in:
		
							parent
							
								
									ff44417dec
								
							
						
					
					
						commit
						df44b0227b
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -399,7 +399,7 @@ func (n *node) shutdown() {
 | 
				
			||||||
func main() {
 | 
					func main() {
 | 
				
			||||||
	args := getArgs()
 | 
						args := getArgs()
 | 
				
			||||||
	hup := make(chan os.Signal, 1)
 | 
						hup := make(chan os.Signal, 1)
 | 
				
			||||||
	signal.Notify(hup, os.Interrupt, syscall.SIGHUP)
 | 
						//signal.Notify(hup, os.Interrupt, syscall.SIGHUP)
 | 
				
			||||||
	term := make(chan os.Signal, 1)
 | 
						term := make(chan os.Signal, 1)
 | 
				
			||||||
	signal.Notify(term, os.Interrupt, syscall.SIGTERM)
 | 
						signal.Notify(term, os.Interrupt, syscall.SIGTERM)
 | 
				
			||||||
	for {
 | 
						for {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue