Skip to content

Commit 6eba5ba

Browse files
Update check_running_kernel
Fix kernel detection
1 parent 2c71bb4 commit 6eba5ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

running-kernel/check_running_kernel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030

3131
uname=$(uname -r)
3232
major_version=${uname:0:3}
33-
if [[ "$uname" == *"-pve" ]]; then
33+
if [[ "$uname" == *"-pve"* ]]; then
3434
if [[ "$(lsb_release -cs 2> /dev/null)" == "bookworm" ]]; then
35-
if [[ "$major-version" == "6.5" ]]; then
35+
if [[ "$major_version" == "6.5" ]]; then
3636
filter="proxmox-kernel-${major_version}.*-signed"
3737
uname=${uname}-signed
3838
else

0 commit comments

Comments
 (0)