diff --git a/ocitrace.c b/ocitrace.c index 59bb3b9..4d4269f 100644 --- a/ocitrace.c +++ b/ocitrace.c @@ -1565,10 +1565,12 @@ void ocitrace_setup(bool trace_intercept, bool trace_gory, bool trace_sql, r += setup_OCISessionPoolDestroy(); r += setup_OCISessionRelease(); - if (r) { - fprintf(stderr, "Exiting because of previous dlsym() errors.\n"); - exit(23); - } + // do not exit because a non-oracle-linked fork'ed child also + // triggers this 'error' + //if (r) { + // fprintf(stderr, "Exiting because of previous dlsym() errors.\n"); + // exit(23); + //} int ret = stats_init(&stats, 0, FN_SIZE); IFTRUEEXIT(ret, 0, -1); } diff --git a/wrap.c b/wrap.c index 3137631..cdc9cc1 100644 --- a/wrap.c +++ b/wrap.c @@ -1704,10 +1704,13 @@ static void setup_fns() r += setup__exit(); r += setup__Exit(); //r += setup_exit(); - if (r) { - fprintf(stderr, "Exiting because of previous dlsym() errors.\n"); - wrap_exit(23); - } + + // do not exit because a non-oracle-linked fork'ed child also + // triggers this 'error' + //if (r) { + // fprintf(stderr, "Exiting because of previous dlsym() errors.\n"); + // wrap_exit(23); + //} } // libclntsh.so