diff options
| author | Scott Gasch <[email protected]> | 2021-09-07 22:20:40 -0700 |
|---|---|---|
| committer | Scott Gasch <[email protected]> | 2021-09-07 22:20:40 -0700 |
| commit | b10d30a46e601c9ee1f843241f2d69a1f90f7a94 (patch) | |
| tree | 30c95e6f4333b57ff3ae7a4dee278b2097612d10 /bootstrap.py | |
| parent | f49bb9db0c6d1a8622dca1717db68462a4209112 (diff) | |
Various changes.
Diffstat (limited to 'bootstrap.py')
| -rw-r--r-- | bootstrap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap.py b/bootstrap.py index 3489b8a..7f63dbb 100644 --- a/bootstrap.py +++ b/bootstrap.py @@ -121,8 +121,8 @@ def initialize(entry_point): f'child system: {cstime}s\n' f'machine uptime: {elapsed_time}s\n' f'walltime: {walltime}s') - if ret != 0: - logger.info(f'Exit {ret}') + if ret is not None and ret != 0: + logger.error(f'Exit {ret}') else: logger.debug(f'Exit {ret}') sys.exit(ret) |
