aboutsummaryrefslogtreecommitdiffstats
path: root/aerc.go
diff options
context:
space:
mode:
Diffstat (limited to 'aerc.go')
-rw-r--r--aerc.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/aerc.go b/aerc.go
index 1826567f..09ddc43f 100644
--- a/aerc.go
+++ b/aerc.go
@@ -167,17 +167,14 @@ func main() {
retryExec = true
}
- if !isatty.IsTerminal(os.Stdout.Fd()) {
- logging.Init()
- }
- logging.Infof("Starting up version %s", logging.BuildInfo)
-
conf, err := config.LoadConfigFromFile(nil, accts)
if err != nil {
fmt.Fprintf(os.Stderr, "Failed to load config: %v\n", err)
os.Exit(1) //nolint:gocritic // PanicHandler does not need to run as it's not a panic
}
+ logging.Infof("Starting up version %s", logging.BuildInfo)
+
var (
aerc *widgets.Aerc
ui *libui.UI