From e00143904fe6fcd6c036807699d9176df163cb06 Mon Sep 17 00:00:00 2001 From: bernard Date: Thu, 26 Jun 2025 00:19:29 +0800 Subject: [PATCH] [smart] Optimize error handling after command execution --- components/lwp/vdso/SConscript | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/components/lwp/vdso/SConscript b/components/lwp/vdso/SConscript index 5f3f853d71..07889d73a9 100644 --- a/components/lwp/vdso/SConscript +++ b/components/lwp/vdso/SConscript @@ -45,11 +45,7 @@ else: print('exec command: "%s" failed.' % ' '.join(command)) exit(1) - if result.returncode == 0: - print("Command executed successfully") - else: - print("Command failed with exit code:", result.returncode) - exit(1) + print("Command executed successfully") group = DefineGroup('lwProcess', src, depend = ['RT_USING_SMART','RT_USING_VDSO'], CPPPATH = CPPPATH) Return('group')