[F] Missing brackets

This commit is contained in:
Azalea (on HyDEV-Daisy) 2022-08-11 22:14:21 -04:00
parent c176e6ffae
commit 1d9fac6f1f

View file

@ -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