Update disk-passthrough.sh

This commit is contained in:
MacRimi 2025-02-03 23:59:36 +01:00 committed by GitHub
parent 854d925626
commit bf6153fa63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,11 +85,6 @@ if [ -z "$VM_LIST" ]; then
exit 1
fi
if [ -n "$SPINNER_PID" ] && ps -p $SPINNER_PID > /dev/null; then
kill $SPINNER_PID > /dev/null
wait $SPINNER_PID 2>/dev/null
unset SPINNER_PID
fi
# Select VM
VMID=$(whiptail --title "$(translate "Select VM")" --menu "$(translate "Select the VM to which you want to add disks:")" 15 60 8 $VM_LIST 3>&1 1>&2 2>&3)