Fixed --no-early-exit behavior being inverted

This commit is contained in:
Snaipe 2015-03-17 00:26:19 +01:00
parent f075bb111b
commit 99d84d8009

View file

@ -71,7 +71,7 @@ struct process *spawn_test_worker(struct criterion_test *test, void (*func)(stru
func(test); func(test);
close(fds[1]); close(fds[1]);
if (!criterion_options.no_early_exit) if (criterion_options.no_early_exit)
return NULL; return NULL;
else else
_exit(0); _exit(0);