[F] Missing brackets
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user