mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-06-28 12:16:53 +00:00
Update id.sh
This commit is contained in:
parent
dafa112575
commit
d829ee5423
@ -220,8 +220,8 @@ done < <(lsblk -dn -o PATH,TYPE | awk '$2 == "disk" {print $1}')
|
|||||||
if [ "${#FREE_DISKS[@]}" -eq 0 ]; then
|
if [ "${#FREE_DISKS[@]}" -eq 0 ]; then
|
||||||
cleanup
|
cleanup
|
||||||
whiptail --title "$(translate "Error")" --msgbox "$(translate "No disks available for this VM.")" 8 40
|
whiptail --title "$(translate "Error")" --msgbox "$(translate "No disks available for this VM.")" 8 40
|
||||||
clear
|
sleep 1
|
||||||
exit 1
|
exec "$0"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
msg_ok "$(translate "Available disks detected.")"
|
msg_ok "$(translate "Available disks detected.")"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user