1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-02-15 05:57:23 +03:00

B #3175 use exit 0 instead of return (#3239)

(cherry picked from commit f9e86c599e0be19aad716dbd700f1472a515411a)
This commit is contained in:
Daniel Clavijo Coca 2019-04-16 16:41:22 -05:00 committed by Ruben S. Montero
parent 1b513a92d5
commit 186d1f2e2e
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -39,7 +39,7 @@ container = Container.get(vm_name, xml, client)
container.vnc('stop')
container.check_stop
return if container.wild?
exit 0 if container.wild?
raise 'Failed to dismantle container storage' unless \
container.setup_storage('unmap')