I have a simple question...
I have a child shell that is running a short program. If it exits ok, I
return a 0. If it receives a kill message, I abort with a 1. How do I test
for this condition in the parent shell??? Right now I am doing the
following in the parent shell:
If true
then
echo processing ok
else
echo processing not ok
This does not seem to be working. Any ideas??? Thanks. Respond here or