hotfix
This commit is contained in:
		
							parent
							
								
									deca8bf735
								
							
						
					
					
						commit
						ed7934ae27
					
				
							
								
								
									
										2
									
								
								main.go
								
								
								
								
							
							
						
						
									
										2
									
								
								main.go
								
								
								
								
							|  | @ -81,7 +81,7 @@ func init() { | |||
| 	flag.Parse() | ||||
| 
 | ||||
| 	// command-line flags and env variables w/ secret support
 | ||||
| 	var tempflag string = util.LookupEnvOrString("SMTP_PASSWORD", flagSmtpPassword) | ||||
| 	tempflag := util.LookupEnvOrString("SMTP_PASSWORD", flagSmtpPassword) | ||||
| 	if tempflag == "" { | ||||
| 		flag.StringVar(&flagSmtpPassword, "smtp-password", util.LookupEnvOrFile("SMTP_PASSWORD_FILE", flagSmtpPassword), "SMTP Password File") | ||||
| 	} else { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue