diff --git a/cli/support/support_linux.go b/cli/support/support_linux.go index de731ad7..ef1c5671 100644 --- a/cli/support/support_linux.go +++ b/cli/support/support_linux.go @@ -42,11 +42,9 @@ func showOSInfo() { if err != nil { return - } else { - if osInfo == nil { - fmtutil.Separator(false, "SYSTEM INFO") - printInfo(12, "Name", systemInfo.OS) - } + } else if osInfo == nil { + fmtutil.Separator(false, "SYSTEM INFO") + printInfo(12, "Name", systemInfo.OS) } printInfo(12, "Arch", systemInfo.Arch)