feat: print all environment variables
This commit is contained in:
		
							parent
							
								
									bb63cb65ba
								
							
						
					
					
						commit
						f3ebd678a8
					
				|  | @ -108,6 +108,9 @@ func init() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| func mainImpl() error { | func mainImpl() error { | ||||||
|  | 	for _, e := range os.Environ() { | ||||||
|  | 		fmt.Println(e) | ||||||
|  | 	} | ||||||
| 	if err := setupSlog(""); err != nil { // before conf is loaded
 | 	if err := setupSlog(""); err != nil { // before conf is loaded
 | ||||||
| 		return err | 		return err | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user