sh script problem with capturing return code

Adam Vande More amvandemore at gmail.com
Thu Jan 10 03:07:58 UTC 2013


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.

-- 
Adam Vande More


More information about the freebsd-questions mailing list