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);