sh script problem with capturing return code

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Mon Jan 14 01:04:13 UTC 2013


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.


More information about the freebsd-questions mailing list