From b6af3bf679a6d020cc28e58d50664e6df7206945 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Thu, 3 Apr 2025 20:28:16 +0200 Subject: [PATCH] Update id.sh --- scripts/test/id.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/test/id.sh b/scripts/test/id.sh index 810519e..cc4105e 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 - sleep 1 - exec "$0" + clear + exit 1 fi msg_ok "$(translate "Available disks detected.")"