From b10d30a46e601c9ee1f843241f2d69a1f90f7a94 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Tue, 7 Sep 2021 22:20:40 -0700 Subject: Various changes. --- bootstrap.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bootstrap.py') 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) -- cgit v1.3