fix check disk issue

artix
Matt C 4 years ago
parent fc09d9cc07
commit 36c3562d1f

@ -50,7 +50,7 @@ if [[ "$PMODE" == "y" ]]; then
else else
prompt "Install target (will be WIPED COMPLETELY)" prompt "Install target (will be WIPED COMPLETELY)"
DISK="$response" DISK="$response"
if [[ $(ls $DISK) == $DISK ]]; then if ! fdisk -l ${DISK}; then
err "Seems like $DISK doesn't exist. Did you typo?" err "Seems like $DISK doesn't exist. Did you typo?"
exit 1 exit 1
fi fi

Loading…
Cancel
Save