From: Brian C. Lane Date: Wed, 9 May 2012 18:15:03 +0000 (-0700) Subject: Fail to boot if mediacheck fails (#817419) X-Git-Tag: 019~67 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=37427748d1846a68b8655b9cc8394f22b7d34975;p=thirdparty%2Fdracut.git Fail to boot if mediacheck fails (#817419) The return value of checkisomd5 was being ignored. --- diff --git a/modules.d/90dmsquash-live/dmsquash-live-root.sh b/modules.d/90dmsquash-live/dmsquash-live-root.sh index 2aaec2815..fdbd6f59b 100755 --- a/modules.d/90dmsquash-live/dmsquash-live-root.sh +++ b/modules.d/90dmsquash-live/dmsquash-live-root.sh @@ -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