From owner-freebsd-questions@FreeBSD.ORG Thu Jan 10 03:07:58 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8570AAEA for ; Thu, 10 Jan 2013 03:07:58 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-qa0-f54.google.com (mail-qa0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3BAD0F66 for ; Thu, 10 Jan 2013 03:07:57 +0000 (UTC) Received: by mail-qa0-f54.google.com with SMTP id j15so156564qaq.6 for ; Wed, 09 Jan 2013 19:07:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=YTFvLaAT9Tnz7JMzVCw5weC7z+C5acZ37yIf+2rTglg=; b=XESvs28aek01DdlI7rAKP5CwH6RmfACrfbc1xEtBH/T/ZKOXVV4NPnL4o+u9IUG9mt 8Qk3qGFRP1wGDvTGVC5fKHr5HreX47ed7ZAYaUppMCZNX5LA+j0BggTHel02NmumgyBA KR8qyHCGG1HKkaLnaZfT7v8Xf79ygeCZtiicQhMrbpeAVbVIXFN0kbE44pXYOVAiAn42 7DJI38LY+kD9fCmIhuIh5MuneeAQ8fDW7hhlryweXqAZxAEj0HJ6mgZE0ISG0id/sGzT yVU93WuxrMLpmuBsuJkWbJOEHSYxzxZy1TJXMyT0Kztgnl+GJV3BCGy1VdwskqA47kxJ uU9w== MIME-Version: 1.0 Received: by 10.229.78.7 with SMTP id i7mr12346948qck.119.1357787277288; Wed, 09 Jan 2013 19:07:57 -0800 (PST) Received: by 10.49.128.168 with HTTP; Wed, 9 Jan 2013 19:07:57 -0800 (PST) In-Reply-To: <44r4ltu8zp.fsf@lowell-desk.lan> References: <50EC9009.3030305@a1poweruser.com> <20130108224626.8c2d89cd.freebsd@edvax.de> <50EC99F2.3020404@a1poweruser.com> <44d2xevlhb.fsf@lowell-desk.lan> <50ED88CF.7060308@a1poweruser.com> <448v82unxb.fsf@lowell-desk.lan> <444niqum7n.fsf@lowell-desk.lan> <44zk0it6t5.fsf@lowell-desk.lan> <44r4ltu8zp.fsf@lowell-desk.lan> Date: Wed, 9 Jan 2013 21:07:57 -0600 Message-ID: Subject: Re: sh script problem with capturing return code From: Adam Vande More To: Lowell Gilbert Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Jan 2013 03:07:58 -0000 On Wed, Jan 9, 2013 at 7:23 PM, Lowell Gilbert < freebsd-questions-local@be-well.ilk.org> wrote: > Lowell Gilbert 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