summaryrefslogtreecommitdiff
path: root/dracut.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dracut.sh')
-rwxr-xr-xdracut.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/dracut.sh b/dracut.sh
index 7071d05c..5ac66b04 100755
--- a/dracut.sh
+++ b/dracut.sh
@@ -1010,7 +1010,7 @@ mods_to_load=""
for_each_module_dir check_module
for_each_module_dir check_mount
-[[ "$mods_to_load " == *01fips\ * ]] && export DRACUT_FIPS_MODE=1
+dracut_module_included "fips" && export DRACUT_FIPS_MODE=1
if [[ $print_cmdline ]]; then
modules_loaded=" "