Merge pull request #572 from jam7/refactor/crew-exit

Change crew to abort just after errors
This commit is contained in:
lyxell
2017-04-11 23:37:07 +02:00
committed by GitHub

2
crew
View File

@@ -266,7 +266,7 @@ def resolveDependenciesAndInstall
search origin
install
rescue InstallError => e
puts "#{@pkg.name} failed to install: #{e.to_s}"
abort "#{@pkg.name} failed to install: #{e.to_s}"
ensure
#cleanup
unless ARGV[2] == 'keep'