diff options
author | fjoe <fjoe@FreeBSD.org> | 2009-10-18 11:26:09 +0000 |
---|---|---|
committer | fjoe <fjoe@FreeBSD.org> | 2009-10-18 11:26:09 +0000 |
commit | 8fb21c7ec5ef06393eee5fd329035976a62340d0 (patch) | |
tree | 56d176e55f94c413c3cbf8cd93a31d1476ccd156 /usr.bin/make/job.c | |
parent | ec5eebfd831fa55d1dd801771fc39a0d301100bd (diff) | |
download | FreeBSD-src-8fb21c7ec5ef06393eee5fd329035976a62340d0.zip FreeBSD-src-8fb21c7ec5ef06393eee5fd329035976a62340d0.tar.gz |
Exit with non-zero error code in case of errors
when make is run with -k and not parallel (compat) make is run.
Diffstat (limited to 'usr.bin/make/job.c')
-rw-r--r-- | usr.bin/make/job.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index e37c62c..9453bdc 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -3380,6 +3380,8 @@ Compat_Run(Lst *targs) printf("`%s' not remade because of errors.\n", gn->name); makeErrors++; + } else if (gn->made == ERROR) { + makeErrors++; } } |