Skip to content

Commit

Permalink
B #3175 use exit 0 instead of return (#3239)
Browse files Browse the repository at this point in the history
  • Loading branch information
dann1 authored and Ruben S. Montero committed Apr 16, 2019
1 parent 1ddfb15 commit f9e86c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmm_mad/remotes/lxd/shutdown
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit f9e86c5

Please sign in to comment.