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

View File

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