From 6eba5baf48ee87b392c5de5593e79fb5ebb1e7e3 Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Mon, 11 Dec 2023 22:51:53 +0100 Subject: [PATCH] Update check_running_kernel Fix kernel detection --- running-kernel/check_running_kernel | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/running-kernel/check_running_kernel b/running-kernel/check_running_kernel index c53c5d0..ca161ae 100644 --- a/running-kernel/check_running_kernel +++ b/running-kernel/check_running_kernel @@ -30,9 +30,9 @@ uname=$(uname -r) major_version=${uname:0:3} -if [[ "$uname" == *"-pve" ]]; then +if [[ "$uname" == *"-pve"* ]]; then if [[ "$(lsb_release -cs 2> /dev/null)" == "bookworm" ]]; then - if [[ "$major-version" == "6.5" ]]; then + if [[ "$major_version" == "6.5" ]]; then filter="proxmox-kernel-${major_version}.*-signed" uname=${uname}-signed else