Skip to content

Commit

Permalink
Fixing bad boolean condition introduced in letsencrypt#141. (letsencr…
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein authored and cpu committed Jun 28, 2018
1 parent 62153ac commit 2544868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion va/va.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func New(

sleepTime := os.Getenv(sleepTimeEnvVar)
sleepTimeInt, err := strconv.Atoi(sleepTime)
if err == nil && !va.sleep && sleepTimeInt >= 1 {
if err == nil && va.sleep && sleepTimeInt >= 1 {
va.sleepTime = sleepTimeInt
va.log.Printf("Setting maximum random VA sleep time to %d seconds", va.sleepTime)
}
Expand Down

0 comments on commit 2544868

Please sign in to comment.