summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/spack/spack/package.py1
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.