This commit is contained in:
Tobias Powalowski 2023-01-09 10:35:48 +01:00
parent 190a640708
commit e71d086d7e

View file

@ -19,7 +19,7 @@ _autoprepare() {
_DISK=$(cat "${_ANSWER}")
else
_DISK="${_DISKS}"
if [[ "${_DISK}" == "" ]]; then
if [[ -z "${_DISK}" ]]; then
_dialog --msgbox "ERROR: Setup cannot find available disk device, please use normal installation routine for partitioning and mounting devices." 0 0
return 1
fi