1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-26 06:50:09 +03:00

F #3859: Fix typo in kvm/shutdown

This commit is contained in:
Ruben S. Montero 2020-03-17 16:40:35 +01:00
parent 577619deb8
commit 0d46f6d9d3
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -26,7 +26,7 @@ deploy_id=$1
shutdown_command="virsh --connect $LIBVIRT_URI shutdown $deploy_id"
# Check if the domain is already shutdown
virsh --connect $LIBVIRT_URI --readonly dominfo $deploy_id > /dev/null 2>&1 || return 0
virsh --connect $LIBVIRT_URI --readonly dominfo $deploy_id > /dev/null 2>&1 || exit 0
#If VM does not have ACPI enabled do not try to use it, destroy instead shutdown
if [ "x$CANCEL_NO_ACPI" = "xyes" ]; then