On Sat, 28 Apr 2007, Tijnema ! wrote:

> On 4/27/07, Jorge Almeida <[EMAIL PROTECTED]> wrote:
>>
>> But evaluate_retval always returns 0...
>> Shouldn't it return the value of $? that was set when it was called? Or
>> should checkfs be changed?
>>
>
> Yes it does return 0 allways, maybe you could take a look at
> /etc/rc.d/init.d/functions first?
>
Maybe you could read a post before firing a hostility-laden reply? And a
pointless one to boot?
> evaluate_retval()
> {
>       error_value="${?}"
>
>       if [ ${error_value} = 0 ]; then
>               echo_ok
>       else
>               echo_failure
>       fi
>
>       # This prevents the 'An Unexpected Error Has Occurred' from trivial
>       # errors.
>       return 0
> }
>
> I think the comments before the last line say enough.
>
You're not thinking right. I know you can do better, because most of your
posts are really useful and helpful. OTOH, you're not bound to help
anyone. If some particular subscriber or class of subscribers gets on
your nerves, then please ignore the offending subscribers.
> Tijnema
>

-- 
Jorge Almeida
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to