sh script problem with capturing return code
Fbsd8
fbsd8 at a1poweruser.com
Mon Jan 14 13:28:41 UTC 2013
Lowell Gilbert wrote:
> Adam Vande More <amvandemore at gmail.com> writes:
>
>> On Wed, Jan 9, 2013 at 7:23 PM, Lowell Gilbert <
>> freebsd-questions-local at be-well.ilk.org> wrote:
>>
>>> Lowell Gilbert <freebsd-questions-local at be-well.ilk.org> writes:
>>>
>>>> I think it's a real bug, and the test cases don't cover "extra" elements
>>>> at all. Now I just have to figure out the right fix.
>>> I'm pretty sure that the fix is just to set rval on jumping to the
>>> "extra" tag in vwalk() in src/usr.sbin/mtree/verify.c.
>>>
>>> But my hot water heater just exploded, so I may not look at code for a
>>> few more days.
>>
>> I think they are importing NetBSD's updated mtree, perhaps already fixed
>> there.
>
> It isn't. Which means I probably should submit fixes to multiple places.
>
> Although NetBSD's changes seem fairly minor to me, from a quick look.
> The merge should not be difficult, no matter how it's approached.
>
>
Let me be sure I understand you correctly.
Your saying you tested the NetBSD version of mtree that was committed
into 10.0 head and it also has the bug we found?
More information about the freebsd-questions
mailing list