<quote who="David Kempe">

> #if (( "ERRORNUM" >= 1 ))
> if [ "$ERRORNUM" != 0 ]

Oh, and more significantly, you're not using integer operators for test(1).
Use -ge for greater than or equal to (see the test(1) man page for more).

- Jeff

-- 
GVADEC 2004: Kristiansand, Norway                    http://2004.guadec.org/
 
      "Are you XFire's crazy girlfriend? And if so, shine on you crazy
                          diamond!" - Paul Cameron
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to