diff --git a/neofetch b/neofetch index 7bf50fef..7704c94e 100755 --- a/neofetch +++ b/neofetch @@ -923,7 +923,7 @@ getcpu () { cpu=${cpu// with Radeon HD Graphics} # Add cpu cores to output - [ "$cpu_cores" == "on" ] && \ + [ "$cpu_cores" == "on" ] && [ ! -z "$cores" ] && \ cpu=${cpu/@/\(${cores}\) @} # Make the output of cpu shorter