diff options
author | Todd Gamblin <tgamblin@llnl.gov> | 2015-05-27 20:27:48 -0700 |
---|---|---|
committer | Todd Gamblin <tgamblin@llnl.gov> | 2015-05-27 20:27:48 -0700 |
commit | 6f8f1bf7afe8307eed7557d794b998cb019ccf2b (patch) | |
tree | 8ea02cac7759798c30ccb02da5c8d50106e3c5a8 /lib | |
parent | c622337802f10f33dc803aef06171674bcb7f52a (diff) | |
download | spack-6f8f1bf7afe8307eed7557d794b998cb019ccf2b.tar.gz spack-6f8f1bf7afe8307eed7557d794b998cb019ccf2b.tar.bz2 spack-6f8f1bf7afe8307eed7557d794b998cb019ccf2b.tar.xz spack-6f8f1bf7afe8307eed7557d794b998cb019ccf2b.zip |
Fix #34: Spack doesn't stop when dep fails to build.
- Fixes regression introduced by #30
- Child process needs to exit on error
Diffstat (limited to 'lib')
-rw-r--r-- | lib/spack/spack/package.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/spack/package.py b/lib/spack/spack/package.py index 452544be49..691caa913d 100644 --- a/lib/spack/spack/package.py +++ b/lib/spack/spack/package.py @@ -801,6 +801,7 @@ class Package(object): # Still need to clean up b/c there was an error. cleanup() + os._exit(1) except: # other exceptions just clean up and raise. |