From 7eba5494eaadec7fecf7e1c73d0643fc0411aff4 Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 20 Jun 2023 16:08:58 -0400 Subject: [PATCH] Update microcode.sh tweak --- misc/microcode.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/microcode.sh b/misc/microcode.sh index c31d88d9..9c399dbc 100644 --- a/misc/microcode.sh +++ b/misc/microcode.sh @@ -92,7 +92,7 @@ if ! command -v pveversion >/dev/null 2>&1; then exit fi msg_info "Checking CPU Vendor" -cpu=$(lscpu | grep -oP 'Vendor ID:\s*\K\S+') +cpu=$(lscpu | grep -oP 'Vendor ID:\s*\K\S+' | head -n 1) if [ "$cpu" == "GenuineIntel" ]; then msg_ok "${cpu} was detected" intel