>--- Forwarded mail from [EMAIL PROTECTED]

>[ 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 $?

Neither of our scripts is truly useful because both always exit with a 0
status.  A useful one would pass CVS's status through, or interpret CVS'
output to produce a reliable status.

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

And your point is what?  That it's okay to sometimes let nondeterministic
errors go undetected?  Sorry, that's not good enough.

>--- End of forwarded message from [EMAIL PROTECTED]


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

Reply via email to