p-b-t: pinning: output hint on next-boot only pinning

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-04-26 12:40:03 +02:00
parent 5708fdf695
commit 85c499d4a2

View File

@ -591,6 +591,7 @@ case "$1" in
'pin')
if [ "$#" -eq 3 ] && [ "$3" = '--next-boot' ]; then
pin_kernel "$2" "${NEXT_BOOT_PIN}"
echo "Pinned for next boot only."
elif [ "$#" -eq 2 ]; then
pin_kernel "$2"
else