mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
bug #1211: Remove unnecessary quotes in the shutdown script
(cherry picked from commit 69cd251c9120cd4528900a186359b707b7951382)
This commit is contained in:
parent
d364c3e57f
commit
0775a43100
@ -48,13 +48,13 @@ function monitor
|
||||
[ "x$?" != "x0" ]
|
||||
}
|
||||
|
||||
exec_and_log "virsh --connect $LIBVIRT_URI shutdown \"$deploy_id\"" \
|
||||
exec_and_log "virsh --connect $LIBVIRT_URI shutdown $deploy_id" \
|
||||
"Could not shutdown $deploy_id"
|
||||
|
||||
retry $TIMEOUT monitor
|
||||
|
||||
force_shutdown "$deploy_id" \
|
||||
"virsh --connect $LIBVIRT_URI destroy \"$deploy_id\""
|
||||
"virsh --connect $LIBVIRT_URI destroy $deploy_id"
|
||||
|
||||
sleep 4
|
||||
|
||||
|
@ -39,5 +39,5 @@ exec_and_log "$XM_SHUTDOWN $deploy_id" \
|
||||
|
||||
retry $TIMEOUT monitor
|
||||
|
||||
force_shutdown "$deploy_id" "$XM_CANCEL \"$deploy_id\""
|
||||
force_shutdown "$deploy_id" "$XM_CANCEL $deploy_id"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user