]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
Fail to boot if mediacheck fails (#817419)
authorBrian C. Lane <bcl@redhat.com>
Wed, 9 May 2012 18:15:03 +0000 (11:15 -0700)
committerHarald Hoyer <harald@redhat.com>
Thu, 10 May 2012 09:52:45 +0000 (11:52 +0200)
The return value of checkisomd5 was being ignored.

modules.d/90dmsquash-live/dmsquash-live-root.sh

index 2aaec281579810dfba93481ddb67b8980fea1898..fdbd6f59b9db2b63c521ae57d8c3ce2e58c6b6da 100755 (executable)
@@ -33,7 +33,7 @@ fi
 getarg rd.live.check check || check=""
 if [ -n "$check" ]; then
     [ -x /bin/plymouth ] && /bin/plymouth --hide-splash
-    checkisomd5 --verbose $livedev || :
+    checkisomd5 --verbose $livedev
     if [ $? -ne 0 ]; then
         die "CD check failed!"
         exit 1