diff --git a/scripts/test/id.sh b/scripts/test/id.sh index cc4105e..810519e 100644 --- a/scripts/test/id.sh +++ b/scripts/test/id.sh @@ -220,8 +220,8 @@ done < <(lsblk -dn -o PATH,TYPE | awk '$2 == "disk" {print $1}') if [ "${#FREE_DISKS[@]}" -eq 0 ]; then cleanup whiptail --title "$(translate "Error")" --msgbox "$(translate "No disks available for this VM.")" 8 40 - clear - exit 1 + sleep 1 + exec "$0" fi msg_ok "$(translate "Available disks detected.")"