diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2020-01-04 12:50:53 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2020-01-04 12:50:53 +0000 |
commit | 950b91cfa233616a4825dea6c64cce0bf20e348c (patch) | |
tree | 72c80298632f17217eefb403530c0fcc5b5afb3a /usr.bin | |
parent | 13ccaf4c226165fa364263a34f44e80331a99ed0 (diff) |
remove redundant test, !keepgoing is already a condition for
a job getting on the errorJobs list
okay millert@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/make/job.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c index db1716df194..60c5d5a5ab9 100644 --- a/usr.bin/make/job.c +++ b/usr.bin/make/job.c @@ -1,4 +1,4 @@ -/* $OpenBSD: job.c,v 1.144 2019/12/31 13:59:14 espie Exp $ */ +/* $OpenBSD: job.c,v 1.145 2020/01/04 12:50:52 espie Exp $ */ /* $NetBSD: job.c,v 1.16 1996/11/06 17:59:08 christos Exp $ */ /* @@ -546,8 +546,7 @@ postprocess_job(Job *job) } else if (job->exit_type != JOB_EXIT_OKAY && keepgoing) free(job); - if (errorJobs != NULL && !keepgoing && - aborting != ABORT_INTERRUPT) + if (errorJobs != NULL && aborting != ABORT_INTERRUPT) aborting = ABORT_ERROR; if (aborting == ABORT_ERROR && DEBUG(QUICKDEATH)) |