Fix drive detection

master
kalle 2021-05-22 10:58:34 +02:00
parent 23bb16bdc0
commit a343996269
1 changed files with 3 additions and 1 deletions

View File

@ -45,7 +45,9 @@ if [ $disk_base == "manual" ]; then
echo "[?] Good luck! Type exit to return to the installer." echo "[?] Good luck! Type exit to return to the installer."
zsh zsh
else else
if [ ! -f $disk_base ]; then ls $disk_base > /dev/null
if [ $? != 0 ]; then
echo "[!] Device $disk_base does not exist." echo "[!] Device $disk_base does not exist."
exit 1 exit 1
fi fi