diff --git a/memtest-setup b/memtest-setup index 0a44d30..c183615 100755 --- a/memtest-setup +++ b/memtest-setup @@ -1,5 +1,10 @@ #!/bin/bash +if [ -d /sys/firmware/efi ]; then + echo "memtest86+ does not support EFI platforms." + exit 254 +fi + MTVERSION=`rpm -q --qf '%{version}' memtest86+` MTPATH="/boot/memtest86+-$MTVERSION"