pull/1/head
tastytea 2015-10-04 18:46:30 +02:00
parent 6a7d3eaf24
commit 0ca7bbb557
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ startsector=$(LC_ALL=C fdisk -l ${MBR_DEVICE} | grep -A1 'Device' | tail -n1 | a
MBR_SIZE=$(expr ${sectorsize} \* ${startsector} / 1024) MBR_SIZE=$(expr ${sectorsize} \* ${startsector} / 1024)
if [ ${?} != 0 ] if [ ${?} != 0 ] && [ "${1}" != "recover" ]
then then
die 1 "Something went wrong. Most likely your partition table is corrupt. Use hashboot recover to fix this." die 1 "Something went wrong. Most likely your partition table is corrupt. Use hashboot recover to fix this."
fi fi