diff options
author | Sean E. Russell <ser@ser1.net> | 2020-06-18 19:51:01 -0500 |
---|---|---|
committer | Sean E. Russell <ser@ser1.net> | 2020-06-18 19:51:01 -0500 |
commit | b6b75415247f23fda5c91db2d8065e045c97b625 (patch) | |
tree | e7276d9f343bb1175d3aca32758838754c7c9375 /cmd | |
parent | f5994548758a34195f55e85956e8c28ca664f3aa (diff) |
Expand translations
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/gotop/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/gotop/main.go b/cmd/gotop/main.go index da4ee41..5feb075 100644 --- a/cmd/gotop/main.go +++ b/cmd/gotop/main.go @@ -346,7 +346,8 @@ func main() { if ec < 2 { logpath := filepath.Join(conf.ConfigDir.QueryCacheFolder().Path, logging.LOGFILE) fmt.Println(tr.Value("error.checklog", logpath)) - fmt.Println(ioutil.ReadFile(logpath)) + bs, _ := ioutil.ReadFile(logpath) + fmt.Println(string(bs)) } } os.Exit(ec) |