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:
parent
577619deb8
commit
0d46f6d9d3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user