diff options
author | Etienne Petrel <etienne.petrel@mongodb.com> | 2021-11-09 06:33:03 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-11-09 06:58:03 +0000 |
commit | 9a8151479376fb226488859763d76f330579b60a (patch) | |
tree | 73d7a00ed9e7f848851404bb7d0fe334a7694365 /src/third_party/wiredtiger/test/csuite/tiered_abort/main.c | |
parent | 27494037c8bd605fbf4ea8003e6d48d33c67c1fe (diff) | |
download | mongo-9a8151479376fb226488859763d76f330579b60a.tar.gz |
Import wiredtiger: c8b6e9a6244dffd83a8524704e8fcb3ca020c8a5 from branch mongodb-master
ref: 0d30a8b002..c8b6e9a624
for: 5.2.0
WT-8291 Call _exit() instead of exit() without an exec
Diffstat (limited to 'src/third_party/wiredtiger/test/csuite/tiered_abort/main.c')
-rw-r--r-- | src/third_party/wiredtiger/test/csuite/tiered_abort/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/third_party/wiredtiger/test/csuite/tiered_abort/main.c b/src/third_party/wiredtiger/test/csuite/tiered_abort/main.c index 8111cd108ac..8d6de02078e 100644 --- a/src/third_party/wiredtiger/test/csuite/tiered_abort/main.c +++ b/src/third_party/wiredtiger/test/csuite/tiered_abort/main.c @@ -509,7 +509,7 @@ run_workload(uint32_t nth, const char *build_dir) */ free(thr); free(td); - exit(EXIT_SUCCESS); + _exit(EXIT_SUCCESS); } extern int __wt_optind; @@ -674,7 +674,7 @@ main(int argc, char *argv[]) if (pid == 0) { /* child */ run_workload(nth, build_dir); - return (EXIT_SUCCESS); + /* NOTREACHED */ } /* parent */ |