From d829ee54231df8892a8bcbebde80d9d8d461a426 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Thu, 3 Apr 2025 20:27:05 +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 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.")"