For Spack commands that fail but don't throw exceptions, we were discarding the return code (#27077)

This commit is contained in:
Peter Scheibel 2021-10-29 14:14:41 -07:00 committed by GitHub
parent b9e63c9f42
commit 7eddf3ae9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -873,7 +873,7 @@ def main(argv=None):
"""
try:
_main(argv)
return _main(argv)
except SpackError as e:
tty.debug(e)