Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Mar 2008 20:13:37 +0600
From:      Max Khon <fjoe@samodelkin.net>
To:        freebsd-arch@FreeBSD.org
Subject:   make -k does not exit with appropriate error code if errors are encountered
Message-ID:  <47E66591.2060804@samodelkin.net>

next in thread | raw e-mail | index | archive | help
Hi!

BSD make does not exit with appropriate error code (2) if it is run with 
"-k" and errors are encountered.

Please review this patch that fixes this bug:

http://people.freebsd.org/~fjoe/make.diff

Sample BSDmakefile is:

--- cut here ---
all:    a b

a:
         exit 1

b:
         touch ${.TARGET}
--- cut here ---

I'd like to commit the to HEAD soon.

/fjoe




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47E66591.2060804>