From 3fb4383a9c4f633517ee8cd2a575277eb56fe799 Mon Sep 17 00:00:00 2001 From: Tao Liu Date: Wed, 3 Nov 2021 15:42:37 +0800 Subject: [PATCH] dracut-module-setup.sh: remove an unused variable upstream: fedora resolves: bz2003832 conflict: none commit ba7aa447b25f2c66f48ff7ca4a139eb39e4f2340 Author: Kairui Song Date: Wed Aug 4 14:29:10 2021 +0800 dracut-module-setup.sh: remove an unused variable Signed-off-by: Kairui Song Acked-by: Philipp Rudo Signed-off-by: Tao Liu --- dracut-module-setup.sh | 2 -- 1 file changed, 2 deletions(-) diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh index a49107d..1e620e1 100755 --- a/dracut-module-setup.sh +++ b/dracut-module-setup.sh @@ -994,8 +994,6 @@ kdump_install_random_seed() { } kdump_install_systemd_conf() { - local failure_action=$(kdump_get_conf_val "failure_action") - # Kdump turns out to require longer default systemd mount timeout # than 1st kernel(90s by default), we use default 300s for kdump. grep -r "^[[:space:]]*DefaultTimeoutStartSec=" ${initdir}/etc/systemd/system.conf* &>/dev/null