[ On Thursday, October 11, 2001 at 15:48:53 (-0700), Paul Sander wrote: ]
> Subject: Re: cvs exit status
>
> # Overflow occurs here; an exit status less than 258 indicates an overflow.
> cvs update
> echo "exit status is $?"

My code would say:

        cvs update
        if [ $? -ne 0 ] ; then
                echo "something bad happened, exit status is $?"
        fi
        exit $?

The chances of that failing are one in 127 in the very worst of cases.

-- 
                                                        Greg A. Woods

+1 416 218-0098      VE3TCP      <[EMAIL PROTECTED]>     <[EMAIL PROTECTED]>
Planix, Inc. <[EMAIL PROTECTED]>;   Secrets of the Weird <[EMAIL PROTECTED]>

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to