From 99d84d8009131c942bf0b483b18a2f10b65d232c Mon Sep 17 00:00:00 2001 From: Snaipe Date: Tue, 17 Mar 2015 00:26:19 +0100 Subject: [PATCH] Fixed --no-early-exit behavior being inverted --- src/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/process.c b/src/process.c index ffc971e..f7048a6 100644 --- a/src/process.c +++ b/src/process.c @@ -71,7 +71,7 @@ struct process *spawn_test_worker(struct criterion_test *test, void (*func)(stru func(test); close(fds[1]); - if (!criterion_options.no_early_exit) + if (criterion_options.no_early_exit) return NULL; else _exit(0);