barnowl/barnowl — pull request #98 by davidben (2012-08-12 22:20:32+00:00)
Title: Don't do the stderr redirect hack if !isatty(2)

stderr has already been redirected, so there's no point. This way if
barnowl crashes, we have some hope of recovering the stderr by
redirecting it to a file first. The pipe hack is still evil, but this is
somewhat less insane.