pkg: fedora: Fix variable name in the watchdog script

This commit is contained in:
Dorian Stoll 2023-10-04 11:52:34 +02:00
parent b82e8acd3c
commit 7633736b5a
No known key found for this signature in database
GPG key ID: F1DACD02C619442A

View file

@ -16,7 +16,7 @@ VMLINUX="$(echo "${KERNELS}" | tail -n1 | cut -d' ' -f2)"
echo "${VMLINUX}"
# update GRUB config
grubby --set-default "$(grub2-mkrelpath "${BOOTPATH}")"
grubby --set-default "$(grub2-mkrelpath "${VMLINUX}")"
# Update timestamp for rEFInd
# Ensure it's marked as latest across all kernels, not just surface ones