Fix drive detection
parent
23bb16bdc0
commit
a343996269
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue