]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(bluetooth): nullglob should not be needed
authorPavel Valena <pvalena@redhat.com>
Fri, 25 Mar 2022 15:39:55 +0000 (16:39 +0100)
committerJóhann B. Guðmundsson <johannbg@gmail.com>
Mon, 4 Apr 2022 08:00:10 +0000 (08:00 +0000)
modules.d/62bluetooth/module-setup.sh

index b22b8cd5ef0d7414c8b42b6e483eb7f59b130fae..40cd9a466bb46a422cde2c468948ce55814b68d2 100755 (executable)
@@ -51,8 +51,8 @@ installkernel() {
 # Install the required file(s) for the module in the initramfs.
 install() {
     # shellcheck disable=SC2064
-    trap "$(shopt -p nullglob globstar)" RETURN
-    shopt -q -s nullglob globstar
+    trap "$(shopt -p globstar)" RETURN
+    shopt -q -s globstar
     local -a var_lib_files
 
     inst_multiple -o \