fix check disk issue

artix
Matt C 4 years ago
parent fc09d9cc07
commit 36c3562d1f

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

Loading…
Cancel
Save