Browse Source

[smart] Optimize error handling after command execution

bernard 1 month ago
parent
commit
e00143904f
1 changed files with 1 additions and 5 deletions
  1. 1 5
      components/lwp/vdso/SConscript

+ 1 - 5
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')