[F] Missing brackets
This commit is contained in:
parent
c176e6ffae
commit
1d9fac6f1f
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
|
@ -2758,7 +2758,7 @@ get_cpu() {
|
||||||
*)
|
*)
|
||||||
# If socket information is present and more than 1, display cpu count first
|
# If socket information is present and more than 1, display cpu count first
|
||||||
if [[ $sockets ]] && [[ $sockets -gt 1 ]]; then
|
if [[ $sockets ]] && [[ $sockets -gt 1 ]]; then
|
||||||
cpu="${sockets}x $cpu $((cores / sockets))"
|
cpu="${sockets}x $cpu ($((cores / sockets)))"
|
||||||
else
|
else
|
||||||
cpu="$cpu ($cores)"
|
cpu="$cpu ($cores)"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue