Skip to content

Commit

Permalink
[F] Missing brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
hykilpikonna committed Aug 12, 2022
1 parent c176e6f commit 1d9fac6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neofetch
Original file line number Diff line number Diff line change
Expand Up @@ -2758,7 +2758,7 @@ get_cpu() {
*)
# If socket information is present and more than 1, display cpu count first
if [[ $sockets ]] && [[ $sockets -gt 1 ]]; then
cpu="${sockets}x $cpu $((cores / sockets))"
cpu="${sockets}x $cpu ($((cores / sockets)))"
else
cpu="$cpu ($cores)"
fi
Expand Down

0 comments on commit 1d9fac6

Please sign in to comment.