From a651341debaf284101cb32c27373ed9a0dec7107 Mon Sep 17 00:00:00 2001 From: Daniel Molkentin Date: Mon, 19 Jun 2017 13:42:43 +0200 Subject: [PATCH] Suppress nonsensical error message (bsc#1032029) --- dracut.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/dracut.sh b/dracut.sh index 69833cab..1016d5ae 100755 --- a/dracut.sh +++ b/dracut.sh @@ -788,6 +788,7 @@ declare -A suse_mod_deps while read -r line; do _suse_mod="${line##*SUSE INITRD: }" _suse_mod="${_suse_mod%% REQUIRES*}" + test -z $_suse_mod && continue suse_mod_deps["$_suse_mod"]="${suse_mod_deps["$_suse_mod"]} ${line##*REQUIRES }" done <<< "$(grep -h "^# SUSE INITRD: " /etc/modprobe.d/[0-9][0-9]*.conf)" -- 2.12.3