Shellcheck
This commit is contained in:
parent
1cdec53605
commit
9916ab3064
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ fi
|
|||
|
||||
CPU=$(lscpu | sed -nr '/Model name/ s/.*:\s*(.*) @ .*/\1/p' | sed ':a;s/ / /;ta' | sed s/"(R)"//g | sed s/"-"//g | sed 's/[^[:alnum:] ]\+//g')
|
||||
|
||||
if [ ! -z "$CPU" ]; then
|
||||
if [ -n "$CPU" ]; then
|
||||
CPU="$CPU,,"
|
||||
else
|
||||
CPU="QEMU, Virtual CPU, X86_64"
|
||||
|
|
Loading…
Reference in a new issue