aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--aerc.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/aerc.go b/aerc.go
index 1b313c3e..ca131e63 100644
--- a/aerc.go
+++ b/aerc.go
@@ -128,6 +128,7 @@ func main() {
logOut = os.Stdout
} else {
logOut = ioutil.Discard
+ os.Stdout, _ = os.Open(os.DevNull)
}
logger = log.New(logOut, "", log.LstdFlags)
logger.Println("Starting up aerc")