mirror of
				https://github.com/juanfont/headscale.git
				synced 2025-10-30 23:51:03 +01:00 
			
		
		
		
	Fix zero arguments error
This commit is contained in:
		
							parent
							
								
									cf40d2a892
								
							
						
					
					
						commit
						9f58eebfe1
					
				| @ -15,7 +15,7 @@ import ( | ||||
| var cfgFile string = "" | ||||
| 
 | ||||
| func init() { | ||||
| 	if len(os.Args) > 1 && os.Args[1] == "version" || os.Args[1] == "mockoidc" { | ||||
| 	if len(os.Args) > 1 && (os.Args[1] == "version" || os.Args[1] == "mockoidc") { | ||||
| 		return | ||||
| 	} | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user