Date: Mon, 3 Jun 2002 12:42:49 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/sysinstall dispatch.c Message-ID: <200206031942.g53JgnS32179@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206031942.g53JgnS32179>
