lib/percheron/actions/start.rb in percheron-0.6.1 vs lib/percheron/actions/start.rb in percheron-0.6.2
- old
+ new
@@ -9,11 +9,13 @@
@dependant_containers = dependant_containers
end
def execute!
create_or_recreate!
- start! unless container.running?
- execute_post_start_scripts! unless container.post_start_scripts.empty?
+ unless container.running?
+ start!
+ execute_post_start_scripts! unless container.post_start_scripts.empty?
+ end
container
end
private