Fix drive detection
This commit is contained in:
parent
23bb16bdc0
commit
a343996269
1 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue