Skip to content

Commit

Permalink
Fix single core display
Browse files Browse the repository at this point in the history
  • Loading branch information
maetthu committed Dec 9, 2018
1 parent f698805 commit 912146f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion greeter.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func main() {
if len(cores) > 1 {
cpuinfo = fmt.Sprintf("%d Cores", len(cores))
} else {
cpuinfo = fmt.Sprintf("1 Core", len(cores))
cpuinfo = "1 Core"
}

cpuinfo += ": " + info[0].ModelName
Expand Down

0 comments on commit 912146f

Please sign in to comment.