]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fips: do not fail immediatly after loading the crypto modules
authorHarald Hoyer <harald@redhat.com>
Mon, 29 Apr 2013 09:34:26 +0000 (11:34 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 29 Apr 2013 09:34:26 +0000 (11:34 +0200)
Fail only if tcrypt insmod failed.

modules.d/01fips/fips.sh

index ce3e49cb13dfc641797b4bef7517a151a3cb289e..0095416abc2868eba42334273f68f8a0a18c45ae 100755 (executable)
@@ -63,7 +63,7 @@ do_fips()
     info "Loading and integrity checking all crypto modules"
     for module in $FIPSMODULES; do
         if [ "$module" != "tcrypt" ]; then
-            modprobe ${module} || return 1
+            modprobe ${module}
         fi
     done
     info "Self testing crypto algorithms"