summaryrefslogtreecommitdiffstats
path: root/cmd/gotop/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/gotop/main.go')
-rw-r--r--cmd/gotop/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/gotop/main.go b/cmd/gotop/main.go
index 1f9f0a5..9c228b8 100644
--- a/cmd/gotop/main.go
+++ b/cmd/gotop/main.go
@@ -362,8 +362,7 @@ func run() int {
}
lang, err := jj.DetectIETF()
if err != nil {
- fmt.Printf("failed to get language setting from environment: %s\n", err)
- return 2
+ lang = "en_US"
}
lang = strings.Replace(lang, "-", "_", -1)
// Get the locale from the os