Browse Source

Fail to boot if mediacheck fails (#817419)

The return value of checkisomd5 was being ignored.
master
Brian C. Lane 13 years ago committed by Harald Hoyer
parent
commit
37427748d1
  1. 2
      modules.d/90dmsquash-live/dmsquash-live-root.sh

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

@ -33,7 +33,7 @@ fi @@ -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

Loading…
Cancel
Save