Getting return codes from scripts run

Only the bottom one.

But for other things, that seems to work.

The bottom output is the return code..... So...... Isn't that what I want?

You will also notice that there are two "TEST" nodes below there.

One does a good command and one is a bash command of "garbage" which will error.

if I run the first one, I get back a 0
If I run the second one it sends back (not 0) and the other end sees the non-zero return and notifies me the command has/had a problem.