Skip to content

Commit

Permalink
Correct writeFailedLog value
Browse files Browse the repository at this point in the history
  • Loading branch information
hirose31 committed Jul 11, 2017
1 parent b21f646 commit e4ccbd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pinger.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
)

var (
writeFailedLog = isatty.IsTerminal(os.Stderr.Fd())
writeFailedLog = !isatty.IsTerminal(os.Stderr.Fd())
)

type response struct {
Expand Down

0 comments on commit e4ccbd0

Please sign in to comment.