From d49a5015d8b277a5db51bfa48eb576e5438344c9 Mon Sep 17 00:00:00 2001 From: Kairui Song Date: Tue, 19 Jan 2021 22:16:27 +0800 Subject: [PATCH] module-setup.sh: don't source $dracutfunctions There is no need to source the file manually, dracut will always prepare the dracut lib before calling a module-setup.sh Signed-off-by: Kairui Song Acked-by: Lianbo Jiang --- dracut-module-setup.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/dracut-module-setup.sh b/dracut-module-setup.sh index a6edc84..5d1f203 100755 --- a/dracut-module-setup.sh +++ b/dracut-module-setup.sh @@ -1,6 +1,5 @@ #!/bin/bash -. $dracutfunctions . /lib/kdump/kdump-lib.sh if ! [[ -d "${initdir}/tmp" ]]; then