From b743d9d991e7242bccabbcfc4a4ec926047da191 Mon Sep 17 00:00:00 2001 From: iwatake Date: Tue, 19 Nov 2024 16:37:02 +0900 Subject: [PATCH] Update ros2caret/verb/record.py Co-authored-by: ymski --- ros2caret/verb/record.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ros2caret/verb/record.py b/ros2caret/verb/record.py index 34fcc28..e9dfc21 100644 --- a/ros2caret/verb/record.py +++ b/ros2caret/verb/record.py @@ -233,7 +233,7 @@ def main(self, *, args): break print(f'Failed to init LTTng. retry {i} / {args.init_retry_num}') time.sleep(1) - if not init_result: + else: print('Failed to init LTTng.') exit(0)