For Spack commands that fail but don't throw exceptions, we were discarding the return code (#27077)
This commit is contained in:
parent
b9e63c9f42
commit
7eddf3ae9b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user