aboutsummaryrefslogtreecommitdiffstats
path: root/joes-arch-install-UEFI.sh
diff options
context:
space:
mode:
Diffstat (limited to 'joes-arch-install-UEFI.sh')
-rwxr-xr-xjoes-arch-install-UEFI.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/joes-arch-install-UEFI.sh b/joes-arch-install-UEFI.sh
index 78c9154..b14d8cd 100755
--- a/joes-arch-install-UEFI.sh
+++ b/joes-arch-install-UEFI.sh
@@ -398,9 +398,10 @@ if [ "$basepartc" -ge 1 ]; then
dd if=/dev/zero of="$drv$towipe" bs=1M status=progress > /dev/null 2>&1
((i++))
done
+else
+ echo -e "${BCYAN}Wiping $drv...${END}"
+ dd if=/dev/zero of="$drv" bs=1M status=progress > /dev/null 2>&1
fi
-echo -e "${BCYAN}Wiping $drv...${END}"
-dd if=/dev/zero of="$drv" bs=1M status=progress > /dev/null 2>&1
wipefs --all --force "$drv"
echo && echo
echo -e "${BGREEN}Wiping complete.${END}"