From 0ca7bbb557f0ecae40e8d075cf184108bfed8279 Mon Sep 17 00:00:00 2001 From: tastytea Date: Sun, 4 Oct 2015 18:46:30 +0200 Subject: [PATCH] oops --- hashboot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hashboot b/hashboot index 5fcde1e..7ea5ac0 100755 --- a/hashboot +++ b/hashboot @@ -86,7 +86,7 @@ startsector=$(LC_ALL=C fdisk -l ${MBR_DEVICE} | grep -A1 'Device' | tail -n1 | a MBR_SIZE=$(expr ${sectorsize} \* ${startsector} / 1024) -if [ ${?} != 0 ] +if [ ${?} != 0 ] && [ "${1}" != "recover" ] then die 1 "Something went wrong. Most likely your partition table is corrupt. Use hashboot recover to fix this." fi