summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test-lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test-lib.c b/test-lib.c
index d9a3177..550ea53 100644
--- a/test-lib.c
+++ b/test-lib.c
@@ -19,7 +19,7 @@ int syncTest(char *testName, char *errMsg, syncTestHandler_t callback) {
printf("Running %s...\n", testName);
pid = fork();
if(pid == 0) {
- return callback();
+ exit(callback());
}
else {
waitpid(pid, &status, 0);