Executation path re-arranging left a condition where somethnig was closed that was never opened.

This commit is contained in:
Sean E. Russell 2020-03-08 08:20:57 -05:00
parent 0eea3106e0
commit 52f6e2ba7e

View File

@ -548,7 +548,6 @@ func loadExtensions(conf gotop.Config) {
initFunc()
}
if hasError {
ui.Close()
folder := conf.ConfigDir.QueryFolderContainsFile(logging.LOGFILE)
if folder == nil {
fmt.Printf("error initializing requested plugins\n")