mirror of
https://github.com/openXC7/prjxray.git
synced 2026-09-06 01:17:02 +02:00
"eval $(python3 script.py)" does not handle the return code correctly and would try to evaluate the complete output of the Python traceback. Temporarily save the output in a variable and check the return code. If the RC is unequal to zero, return the RC and leave the bash script. Signed-off-by: Daniel Schultz <[email protected]>