From 3fb4383a9c4f633517ee8cd2a575277eb56fe799 Mon Sep 17 00:00:00 2001 From: Tao Liu Date: Nov 03 2021 08:13:40 +0000 Subject: 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 --- 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