From owner-cvs-all Mon Jun 3 14: 6:40 2002 Delivered-To: cvs-all@freebsd.org Received: from mail-out1.apple.com (mail-out1.apple.com [17.254.0.52]) by hub.freebsd.org (Postfix) with ESMTP id 9DA1837B406; Mon, 3 Jun 2002 14:06:31 -0700 (PDT) Received: from mailgate2.apple.com (A17-129-100-225.apple.com [17.129.100.225]) by mail-out1.apple.com (8.11.3/8.11.3) with ESMTP id g53L6Vt18257; Mon, 3 Jun 2002 14:06:31 -0700 (PDT) Received: from scv2.apple.com (scv2.apple.com) by mailgate2.apple.com (Content Technologies SMTPRS 4.2.1) with ESMTP id ; Mon, 3 Jun 2002 14:06:25 -0700 Received: from twogun.apple.com (twogun.apple.com [17.202.45.118]) by scv2.apple.com (8.11.3/8.11.3) with ESMTP id g53L6OX02336; Mon, 3 Jun 2002 14:06:25 -0700 (PDT) Date: Mon, 3 Jun 2002 14:06:36 -0700 Subject: Re: cvs commit: src/usr.sbin/sysinstall dispatch.c Content-Type: text/plain; charset=US-ASCII; format=flowed Mime-Version: 1.0 (Apple Message framework v522) Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org To: John Baldwin From: Jordan K Hubbard In-Reply-To: <200206031942.g53JgnS32179@freefall.freebsd.org> Message-Id: Content-Transfer-Encoding: 7bit X-Mailer: Apple Mail (2.522) Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Woohoo! Sysinstall has a new maintainer! All hail John Baldwin, King of Sysinstall! ;) On Monday, Jun 3, 2002, at 12:42 US/Pacific, John Baldwin wrote: > jhb 2002/06/03 12:42:49 PDT > > Modified files: > usr.sbin/sysinstall dispatch.c > Log: > Fix handling of the 'noError' variable. According to the code > comments, > one can set the 'noError' variable to ignore any errors that occur > for the > next command. However, the code was only unsetting 'noError' when > an error > actually occurred, so if you set 'noError', the next command > completed ok, > and the command after that failed, the second command's failure > would be > ignored. This fixes this by performing the 'noError' check earlier > and > then unsetting 'noError' after every command that is run. > > Sponsored by: The Weather Channel > > Revision Changes Path > 1.42 +11 -12 src/usr.sbin/sysinstall/dispatch.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message