test fix for wildcard error

pull/19/head
aristocratos 2020-04-08 12:45:39 +02:00
parent 62d70751d5
commit 8af367ec61
1 changed files with 1 additions and 1 deletions

View File

@ -610,7 +610,7 @@ get_cpu_info() {
lscpu_var="$(lscpu)" lscpu_var="$(lscpu)"
if [[ -z ${cpu[threads]} || -z ${cpu[cores]} ]]; then if [[ -z ${cpu[threads]} || -z ${cpu[cores]} ]]; then
get_value -v cpu[threads] -sv "lscpu_var" -k "CPU(s):" -i get_value -v cpu[threads] -sv "lscpu_var" -k "CPU(s):" -i
get_value -v cpu[cores] -sv "lscpu_var" -k "Core(s)*:" -i get_value -v cpu[cores] -sv "lscpu_var" -k "Core(s)" -i
fi fi
if [[ -z $custom_cpu_name ]]; then if [[ -z $custom_cpu_name ]]; then
if ! get_value -v cpu[model] -sv "lscpu_var" -k "Model name:" -a -b -k "CPU" -mk -1; then if ! get_value -v cpu[model] -sv "lscpu_var" -k "Model name:" -a -b -k "CPU" -mk -1; then