summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2020-06-18 19:51:01 -0500
committerSean E. Russell <ser@ser1.net>2020-06-18 19:51:01 -0500
commitb6b75415247f23fda5c91db2d8065e045c97b625 (patch)
treee7276d9f343bb1175d3aca32758838754c7c9375 /cmd
parentf5994548758a34195f55e85956e8c28ca664f3aa (diff)
Expand translations
Diffstat (limited to 'cmd')
-rw-r--r--cmd/gotop/main.go3
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)