diff options
| author | bernard <[email protected]> | 2025-06-26 00:19:29 +0800 |
|---|---|---|
| committer | Rbb666 <[email protected]> | 2025-07-07 09:44:37 +0800 |
| commit | e00143904fe6fcd6c036807699d9176df163cb06 (patch) | |
| tree | 12eab0d1f2e8fbf6eeb0b43e1b43ee4195e92abe | |
| parent | 172676e115666ac3f91e468f6d668b62b1844b45 (diff) | |
[smart] Optimize error handling after command execution
| -rw-r--r-- | components/lwp/vdso/SConscript | 6 |
1 files changed, 1 insertions, 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') |
