From 9a8151479376fb226488859763d76f330579b60a Mon Sep 17 00:00:00 2001 From: Etienne Petrel Date: Tue, 9 Nov 2021 06:33:03 +0000 Subject: Import wiredtiger: c8b6e9a6244dffd83a8524704e8fcb3ca020c8a5 from branch mongodb-master ref: 0d30a8b002..c8b6e9a624 for: 5.2.0 WT-8291 Call _exit() instead of exit() without an exec --- src/third_party/wiredtiger/test/csuite/tiered_abort/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/third_party/wiredtiger/test/csuite/tiered_abort/main.c') 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 */ -- cgit v1.2.1