From owner-cvs-all Mon Jun 3 15:33:54 2002 Delivered-To: cvs-all@freebsd.org Received: from mail.speakeasy.net (mail15.speakeasy.net [216.254.0.215]) by hub.freebsd.org (Postfix) with ESMTP id 3879737B412 for ; Mon, 3 Jun 2002 15:33:31 -0700 (PDT) Received: (qmail 17722 invoked from network); 3 Jun 2002 22:33:30 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail15.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 3 Jun 2002 22:33:30 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g53MXmF50692; Mon, 3 Jun 2002 18:33:48 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Mon, 03 Jun 2002 18:33:06 -0400 (EDT) From: John Baldwin To: Jordan K Hubbard Subject: Re: cvs commit: src/usr.sbin/sysinstall dispatch.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org 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 On 03-Jun-2002 Jordan K Hubbard wrote: > Woohoo! Sysinstall has a new maintainer! All hail John Baldwin, King > of Sysinstall! ;) No, I just have to make it suck a little less for work purposes. :) > 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 > -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message