Blame SOURCES/0552-dracut-functions-fix-the-word-splitting.patch

2d7ffa
From e4034dcae31a788bf7eeed943862289e0bcc1a04 Mon Sep 17 00:00:00 2001
2d7ffa
From: Lukas Nykryn <lnykryn@redhat.com>
2d7ffa
Date: Thu, 9 Aug 2018 12:14:20 +0200
2d7ffa
Subject: [PATCH] dracut-functions: fix the word splitting
2d7ffa
2d7ffa
Cherry-picked from: dc4f0a40f8fbea23ccd1e0fcde48d5c6f7996021
2d7ffa
Resolves: #1607744
2d7ffa
---
2d7ffa
 dracut-functions.sh | 2 +-
2d7ffa
 1 file changed, 1 insertion(+), 1 deletion(-)
2d7ffa
2d7ffa
diff --git a/dracut-functions.sh b/dracut-functions.sh
2d7ffa
index 4387168a..e5985e33 100755
2d7ffa
--- a/dracut-functions.sh
2d7ffa
+++ b/dracut-functions.sh
2d7ffa
@@ -1755,7 +1755,7 @@ get_loaded_kernel_modules ()
2d7ffa
     local modules=( )
2d7ffa
     while read _module _size _used _used_by; do
2d7ffa
         modules+=( "$_module" )
2d7ffa
-    done <<< $(lsmod | sed -n '1!p')
2d7ffa
+    done <<< "$(lsmod | sed -n '1!p')"
2d7ffa
     printf '%s\n' "${modules[@]}" | sort
2d7ffa
 }
2d7ffa