diff --git a/kdump-lib.sh b/kdump-lib.sh index 49df354..c2f9c0e 100755 --- a/kdump-lib.sh +++ b/kdump-lib.sh @@ -741,7 +741,7 @@ prepare_kdump_bootinfo() local boot_imglist boot_dirlist boot_initrdlist curr_kver="$(uname -r)" local machine_id - if [ -z "$KDUMP_KERNELVER"]; then + if [ -z "$KDUMP_KERNELVER" ]; then KDUMP_KERNELVER="$(uname -r)" fi