diff options
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) |
