Only show the guest system, not the host system

pull/11060/head
Anders F Björklund 2021-04-10 14:40:03 +02:00
parent 9f78ecf896
commit 1e3e8c9587
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ func platform() string {
// This environment is exotic, let's output a bit more.
if vrole == "guest" || runtime.GOARCH != "amd64" {
if vsys != "" {
if vrole == "guest" && vsys != "" {
s.WriteString(fmt.Sprintf(" (%s/%s)", vsys, runtime.GOARCH))
} else {
s.WriteString(fmt.Sprintf(" (%s)", runtime.GOARCH))