[ale] exit code and if

Zyman, Andy zymana at hra.nyc.gov
Thu Jul 18 10:17:38 EDT 2002


Hello ALE,
as always simple question and looking for Your suggestions:

cmd
if [ $? -ne 0 ]; then <do smth> fi

Is there a better way to this? I mean how i can get rid from this 2 lines
and make one ?


Thank You
 Andy

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list