diff --git a/SOURCES/kdumpctl b/SOURCES/kdumpctl index ff49175..ec21495 100755 --- a/SOURCES/kdumpctl +++ b/SOURCES/kdumpctl @@ -216,7 +216,7 @@ restore_default_initrd() mv $DEFAULT_INITRD_BAK $DEFAULT_INITRD if [[ $? -eq 0 ]]; then derror "Restoring original initrd as fadump mode is disabled." - sync -f "DEFAULT_INITRD" + sync -f "$DEFAULT_INITRD" fi fi fi diff --git a/SPECS/kexec-tools.spec b/SPECS/kexec-tools.spec index 2d3c3ca..4eec3d8 100644 --- a/SPECS/kexec-tools.spec +++ b/SPECS/kexec-tools.spec @@ -1,6 +1,6 @@ Name: kexec-tools Version: 2.0.24 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2 Group: Applications/System Summary: The kexec/kdump userspace component @@ -393,6 +393,9 @@ done %endif %changelog +* Fri May 27 2022 Pingfan Liu - 2.0.24-2 +- kdumpctl: fix missed dollar sign + * Thu May 5 2022 Pingfan Liu - 2.0.24-1 - kdumpctl: sync the $TARGET_INITRD after rebuild - Avoid false-positive mem_section validation with vmlinux