1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #5359: Fix force_shutdown bug. Output of the command is executed. (#434)

This commit is contained in:
vmoyankov 2017-09-22 12:19:01 +03:00 committed by Ruben S. Montero
parent 8a7d0eaeed
commit 94ef9a7e64

View File

@ -331,7 +331,7 @@ function force_shutdown {
if [ "x$error" != "x0" ]; then
if [ "$FORCE_DESTROY" = "yes" ]; then
log_error "Timeout shutting down $deploy_id. Destroying it"
$($command)
ret=$($command)
sleep 2
else
error_message "Timed out shutting down $deploy_id"